[INFO] fetching crate graylog 0.1.2...
[INFO] checking graylog-0.1.2 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] extracting crate graylog 0.1.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate graylog 0.1.2
[INFO] finished tweaking crates.io crate graylog 0.1.2
[INFO] tweaked toml for crates.io crate graylog 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate graylog 0.1.2 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 71 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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d7d05484947b969ec38c295c1a10b0b0b8332cff7ca7781013f61f3f9b6f04a
[INFO] running `Command { std: "docker" "start" "-a" "9d7d05484947b969ec38c295c1a10b0b0b8332cff7ca7781013f61f3f9b6f04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d7d05484947b969ec38c295c1a10b0b0b8332cff7ca7781013f61f3f9b6f04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d7d05484947b969ec38c295c1a10b0b0b8332cff7ca7781013f61f3f9b6f04a", kill_on_drop: false }`
[INFO] [stdout] 9d7d05484947b969ec38c295c1a10b0b0b8332cff7ca7781013f61f3f9b6f04a
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cb53ee4ce526d1ffa3b6187cf9dbead5c1afdc8dff6fe64a73bea20aa0c4f64
[INFO] running `Command { std: "docker" "start" "-a" "9cb53ee4ce526d1ffa3b6187cf9dbead5c1afdc8dff6fe64a73bea20aa0c4f64", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking graylog v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ipv4Addr`, `SystemTime`, and `UNIX_EPOCH`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     net::{TcpStream, Ipv4Addr},
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout] 6 |     time::{SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Connection` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Connection {
[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] error: struct `Logger` is never constructed
[INFO] [stdout]   --> src/lib.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Logger {
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip` and `port` are never read
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Connection {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 15 |     ip: &'static str, //todo: accept ipv4, ipv6, or web domain
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `default`, and `connect` are never used
[INFO] [stdout]   --> src/lib.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Connection {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn new(ip: &'static str, port: u16) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn default() -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn connect(&self) -> io::Result<TcpStream> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `connection` are never read
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Logger {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 37 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     connection: Option<Connection>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_default_connection`, and `log` are never used
[INFO] [stdout]   --> src/lib.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Logger {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(id: u32, connection: Connection) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn with_default_connection(id: u32) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn log(&self, message: &str, level: Level) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr`, `SystemTime`, and `UNIX_EPOCH`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     net::{TcpStream, Ipv4Addr},
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout] 6 |     time::{SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `graylog` (lib test) due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `Connection` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Connection {
[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] error: struct `Logger` is never constructed
[INFO] [stdout]   --> src/lib.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Logger {
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip` and `port` are never read
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Connection {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 15 |     ip: &'static str, //todo: accept ipv4, ipv6, or web domain
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `default`, and `connect` are never used
[INFO] [stdout]   --> src/lib.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Connection {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn new(ip: &'static str, port: u16) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn default() -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn connect(&self) -> io::Result<TcpStream> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `connection` are never read
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Logger {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 37 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     connection: Option<Connection>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_default_connection`, and `log` are never used
[INFO] [stdout]   --> src/lib.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Logger {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(id: u32, connection: Connection) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn with_default_connection(id: u32) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn log(&self, message: &str, level: Level) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `GrayLogger` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `gray_logger`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `graylog` (lib) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9cb53ee4ce526d1ffa3b6187cf9dbead5c1afdc8dff6fe64a73bea20aa0c4f64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cb53ee4ce526d1ffa3b6187cf9dbead5c1afdc8dff6fe64a73bea20aa0c4f64", kill_on_drop: false }`
[INFO] [stdout] 9cb53ee4ce526d1ffa3b6187cf9dbead5c1afdc8dff6fe64a73bea20aa0c4f64
