[INFO] fetching crate newtypedecl 0.0.0... [INFO] checking newtypedecl-0.0.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate newtypedecl 0.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate newtypedecl 0.0.0 [INFO] finished tweaking crates.io crate newtypedecl 0.0.0 [INFO] tweaked toml for crates.io crate newtypedecl 0.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate newtypedecl 0.0.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd60e31f245b1bfed446261033801aa09fff2ac72597de88cfb103ca58af8ac [INFO] running `Command { std: "docker" "start" "-a" "cfd60e31f245b1bfed446261033801aa09fff2ac72597de88cfb103ca58af8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd60e31f245b1bfed446261033801aa09fff2ac72597de88cfb103ca58af8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd60e31f245b1bfed446261033801aa09fff2ac72597de88cfb103ca58af8ac", kill_on_drop: false }` [INFO] [stdout] cfd60e31f245b1bfed446261033801aa09fff2ac72597de88cfb103ca58af8ac [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de53692a99ca892eec71c1a0b0ac358c4db96e2c75915e16585aee340d846536 [INFO] running `Command { std: "docker" "start" "-a" "de53692a99ca892eec71c1a0b0ac358c4db96e2c75915e16585aee340d846536", kill_on_drop: false }` [INFO] [stderr] Checking newtypedecl v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Example` is never constructed [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | struct Example; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrapedExample` is never constructed [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | WrapedExample(Example) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `take` are never used [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 18 | impl$(<$lifetime>)? $name$(<$lifetime>)? { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 19 | $pub const fn new(value: $type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | $pub const fn take(value: Self) -> $type { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / newtype!( [INFO] [stdout] 69 | | WrapedExample(Example) [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `take` is never used [INFO] [stdout] --> src/lib.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 18 | impl$(<$lifetime>)? $name$(<$lifetime>)? { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | $pub const fn take(value: Self) -> $type { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / newtype!( [INFO] [stdout] 73 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] 74 | | pub Text<'a>(pub &'a str) [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "de53692a99ca892eec71c1a0b0ac358c4db96e2c75915e16585aee340d846536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de53692a99ca892eec71c1a0b0ac358c4db96e2c75915e16585aee340d846536", kill_on_drop: false }` [INFO] [stdout] de53692a99ca892eec71c1a0b0ac358c4db96e2c75915e16585aee340d846536