[INFO] fetching crate default-constructor 0.5.1... [INFO] checking default-constructor-0.5.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate default-constructor 0.5.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate default-constructor 0.5.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f683640b7a45a98b54b4966cec7dcf33fbfcf16b0d3f4d9d4df166134a2f568 [INFO] running `Command { std: "docker" "start" "-a" "3f683640b7a45a98b54b4966cec7dcf33fbfcf16b0d3f4d9d4df166134a2f568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f683640b7a45a98b54b4966cec7dcf33fbfcf16b0d3f4d9d4df166134a2f568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f683640b7a45a98b54b4966cec7dcf33fbfcf16b0d3f4d9d4df166134a2f568", kill_on_drop: false }` [INFO] [stdout] 3f683640b7a45a98b54b4966cec7dcf33fbfcf16b0d3f4d9d4df166134a2f568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fb8d7f8d1c05462853c544c94ca8657889fce4d1dbc1e844eabda417e477a03 [INFO] running `Command { std: "docker" "start" "-a" "8fb8d7f8d1c05462853c544c94ca8657889fce4d1dbc1e844eabda417e477a03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [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] 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, [INFO] [stdout] | ^ [INFO] [stdout] 11 | e: A, [INFO] [stdout] | ^ [INFO] [stdout] 12 | f: Box, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 { [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(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(String, f32, char, T); [INFO] [stdout] 24 + pub struct D((), (), (), 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, [INFO] [stdout] | ^ [INFO] [stdout] 161 | b: Rc, [INFO] [stdout] | ^ [INFO] [stdout] 162 | c: Arc, [INFO] [stdout] | ^ [INFO] [stdout] 163 | d: Option, [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 { [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, [INFO] [stdout] | ^ [INFO] [stdout] 54 | pub e: HashMap, Box>, [INFO] [stdout] | ^ [INFO] [stdout] 55 | pub f: i32, [INFO] [stdout] | ^ [INFO] [stdout] 56 | pub g: Vec, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "8fb8d7f8d1c05462853c544c94ca8657889fce4d1dbc1e844eabda417e477a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb8d7f8d1c05462853c544c94ca8657889fce4d1dbc1e844eabda417e477a03", kill_on_drop: false }` [INFO] [stdout] 8fb8d7f8d1c05462853c544c94ca8657889fce4d1dbc1e844eabda417e477a03