[INFO] cloning repository https://github.com/brandonphelps/trait_deps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brandonphelps/trait_deps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Ftrait_deps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Ftrait_deps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 681d2f9ec9589fd50e4cb5e330fd9c385721fd90 [INFO] checking brandonphelps/trait_deps against master#fe348cd1a8e0fa445b772393147ed865904dcd4d for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Ftrait_deps" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brandonphelps/trait_deps on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brandonphelps/trait_deps [INFO] finished tweaking git repo https://github.com/brandonphelps/trait_deps [INFO] tweaked toml for git repo https://github.com/brandonphelps/trait_deps written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brandonphelps/trait_deps 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" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5756426de4c770650ce661588965f2a12688ae3f730724bb0493ce58f44f51ec [INFO] running `Command { std: "docker" "start" "-a" "5756426de4c770650ce661588965f2a12688ae3f730724bb0493ce58f44f51ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5756426de4c770650ce661588965f2a12688ae3f730724bb0493ce58f44f51ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5756426de4c770650ce661588965f2a12688ae3f730724bb0493ce58f44f51ec", kill_on_drop: false }` [INFO] [stdout] 5756426de4c770650ce661588965f2a12688ae3f730724bb0493ce58f44f51ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf6ae25ef7c1547fc96893d298b48524f5836a624d8b3b6e000de670a444ee6 [INFO] running `Command { std: "docker" "start" "-a" "abf6ae25ef7c1547fc96893d298b48524f5836a624d8b3b6e000de670a444ee6", kill_on_drop: false }` [INFO] [stderr] Checking trait_deps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GenericComm::CommInter` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::{GenericComm::CommInter, EmailClient::EmailClient, Windows}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericComm::CommInter` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::{GenericComm::CommInter, EmailClient::EmailClient, Windows}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let client = EmailClient::new(Windows::WindowsSocket {}); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `speak` and `read` are never used [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CommInter { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 5 | fn speak(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | fn read(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comm_handle` is never read [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct EmailClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | comm_handle: T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_work` is never used [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 52 | / impl EmailClient [INFO] [stdout] 53 | | where [INFO] [stdout] 54 | | T: CommInter [INFO] [stdout] | |____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn do_work(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let client = EmailClient::new(Windows::WindowsSocket {}); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GenericComm` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod GenericComm { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generic_comm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Windows` should have a snake case name [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mod Windows { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Linux` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | mod Linux { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `linux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EmailClient` should have a snake case name [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mod EmailClient { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `email_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserApp` should have a snake case name [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | mod UserApp { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `user_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `speak` and `read` are never used [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CommInter { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 5 | fn speak(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | fn read(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comm_handle` is never read [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct EmailClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | comm_handle: T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_work` is never used [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 52 | / impl EmailClient [INFO] [stdout] 53 | | where [INFO] [stdout] 54 | | T: CommInter [INFO] [stdout] | |____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn do_work(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GenericComm` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod GenericComm { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generic_comm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Windows` should have a snake case name [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mod Windows { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Linux` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | mod Linux { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `linux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EmailClient` should have a snake case name [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mod EmailClient { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `email_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserApp` should have a snake case name [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | mod UserApp { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `user_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "abf6ae25ef7c1547fc96893d298b48524f5836a624d8b3b6e000de670a444ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf6ae25ef7c1547fc96893d298b48524f5836a624d8b3b6e000de670a444ee6", kill_on_drop: false }` [INFO] [stdout] abf6ae25ef7c1547fc96893d298b48524f5836a624d8b3b6e000de670a444ee6