[INFO] fetching crate inline_newtype 0.1.1... [INFO] checking inline_newtype-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate inline_newtype 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate inline_newtype 0.1.1 [INFO] finished tweaking crates.io crate inline_newtype 0.1.1 [INFO] tweaked toml for crates.io crate inline_newtype 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate inline_newtype 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0869043e4429968a83f91e53acc57e77c2f0cb05d486f07d6046acd38a069e88 [INFO] running `Command { std: "docker" "start" "-a" "0869043e4429968a83f91e53acc57e77c2f0cb05d486f07d6046acd38a069e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0869043e4429968a83f91e53acc57e77c2f0cb05d486f07d6046acd38a069e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0869043e4429968a83f91e53acc57e77c2f0cb05d486f07d6046acd38a069e88", kill_on_drop: false }` [INFO] [stdout] 0869043e4429968a83f91e53acc57e77c2f0cb05d486f07d6046acd38a069e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c785f05e349cd14250d012c8935fbc878bd1a7301bdf9df6b77ce2c1f30374 [INFO] running `Command { std: "docker" "start" "-a" "a2c785f05e349cd14250d012c8935fbc878bd1a7301bdf9df6b77ce2c1f30374", kill_on_drop: false }` [INFO] [stderr] Checking inline_newtype v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `user_home_directory` [INFO] [stdout] --> src/lib.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let user_home_directory = UserHomeDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_home_directory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_runtime_directory` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let user_runtime_directory = UserRuntimeDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_runtime_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_home_directory` [INFO] [stdout] --> src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let user_home_directory = UserHomeDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_home_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_runtime_directory` [INFO] [stdout] --> src/lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let user_runtime_directory = UserRuntimeDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_runtime_directory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | mut user_home_directory: UserHomeDirectory, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub v: $type, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 140 | newtype!(UserHomeDirectory, PathBuf); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `UserHomeDirectory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: field `v` is never read [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub v: $type, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | newtype!(UserRuntimeDirectory, PathBuf); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `UserRuntimeDirectory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: function `test_newtype_type_func` is never used [INFO] [stdout] --> src/lib.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn test_newtype_type_func(user_home_directory: UserHomeDirectory) -> UserHomeDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub v: $type, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | newtype!(UserHomeDirectory, PathBuf); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `UserHomeDirectory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: field `v` is never read [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub v: $type, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | newtype!(UserRuntimeDirectory, PathBuf); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `UserRuntimeDirectory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: function `transform_user_home_to_runtime_directory` is never used [INFO] [stdout] --> src/lib.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | fn transform_user_home_to_runtime_directory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "a2c785f05e349cd14250d012c8935fbc878bd1a7301bdf9df6b77ce2c1f30374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c785f05e349cd14250d012c8935fbc878bd1a7301bdf9df6b77ce2c1f30374", kill_on_drop: false }` [INFO] [stdout] a2c785f05e349cd14250d012c8935fbc878bd1a7301bdf9df6b77ce2c1f30374