[INFO] cloning repository https://github.com/joyanedel/postgres-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joyanedel/postgres-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fpostgres-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fpostgres-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03be359ad415fb4888f3a66b100a705b3732ee5b
[INFO] building joyanedel/postgres-rs against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fpostgres-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/joyanedel/postgres-rs on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/joyanedel/postgres-rs
[INFO] finished tweaking git repo https://github.com/joyanedel/postgres-rs
[INFO] tweaked toml for git repo https://github.com/joyanedel/postgres-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/joyanedel/postgres-rs 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" "+334963c956d25708feab489a3816ae63f639355d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0df81fc79860f3017aadd2d2f99c31f5d96a9b19c2b1dd844af4a29651c7658a
[INFO] running `Command { std: "docker" "start" "-a" "0df81fc79860f3017aadd2d2f99c31f5d96a9b19c2b1dd844af4a29651c7658a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0df81fc79860f3017aadd2d2f99c31f5d96a9b19c2b1dd844af4a29651c7658a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0df81fc79860f3017aadd2d2f99c31f5d96a9b19c2b1dd844af4a29651c7658a", kill_on_drop: false }`
[INFO] [stdout] 0df81fc79860f3017aadd2d2f99c31f5d96a9b19c2b1dd844af4a29651c7658a
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e55082c5df1d0fba38d78421b09d63575809d7d347e49755a7c4d38c681fa5a
[INFO] running `Command { std: "docker" "start" "-a" "2e55082c5df1d0fba38d78421b09d63575809d7d347e49755a7c4d38c681fa5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling postgres-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/messages/startup.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Bytes`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_binding`
[INFO] [stdout]   --> src/connection/sasl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_binding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/connection/sasl.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection/sasl.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[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: unreachable pattern
[INFO] [stdout]   --> src/connection.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         MessageFormat::Authentication(v) => v,
[INFO] [stdout]    |         -------------------------------- matches all the relevant values
[INFO] [stdout] 29 |         v => panic!("Message format not supported yet: {:?}", v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/connection.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn establish_connection(stream: &mut TcpStream) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GS2_HEADER` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const GS2_HEADER: &str = "n,,";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANNEL_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CHANNEL_ATTR: &str = "c";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USERNAME_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const USERNAME_ATTR: &str = "n";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_PROOF__ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CLIENT_PROOF__ATTR: &str = "p";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const NONCE_ATTR: &str = "r";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `authenticate` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SASLContinue`, `SASLFinal`, and `NegotiateProtocolVersion` are never constructed
[INFO] [stdout]   --> src/messages/authentication.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Authentication {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     SASLContinue(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     // Bytes n
[INFO] [stdout] 19 |     SASLFinal(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     NegotiateProtocolVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Authentication` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MessageFormat` is never used
[INFO] [stdout]  --> src/messages/format.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MessageFormat {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `decode` is never used
[INFO] [stdout]  --> src/messages/format.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl MessageFormat {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn decode(buf: &[u8]) -> Self {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartupMessage` is never constructed
[INFO] [stdout]  --> src/messages/startup.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct StartupMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StartupMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]   --> src/messages/startup.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl StartupMessage {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 14 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_version_to_i32` is never used
[INFO] [stdout]   --> src/messages/startup.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn protocol_version_to_i32(major: i16, minor: i16) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_parameter` is never used
[INFO] [stdout]   --> src/messages/startup.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn write_parameter(buf: &mut Vec<u8>, name: &str, value: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]  --> src/types.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Connection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/types.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(username: &str, password: &str, port: u32, host: &str, database: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             sasl::authenticate(stream, &v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = sasl::authenticate(stream, &v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/main.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/messages/startup.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Bytes`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_binding`
[INFO] [stdout]   --> src/connection/sasl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_binding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/connection/sasl.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection/sasl.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[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: unreachable pattern
[INFO] [stdout]   --> src/connection.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         MessageFormat::Authentication(v) => v,
[INFO] [stdout]    |         -------------------------------- matches all the relevant values
[INFO] [stdout] 29 |         v => panic!("Message format not supported yet: {:?}", v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GS2_HEADER` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const GS2_HEADER: &str = "n,,";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USERNAME_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const USERNAME_ATTR: &str = "n";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_PROOF__ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CLIENT_PROOF__ATTR: &str = "p";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const NONCE_ATTR: &str = "r";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SASLContinue`, `SASLFinal`, and `NegotiateProtocolVersion` are never constructed
[INFO] [stdout]   --> src/messages/authentication.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Authentication {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     SASLContinue(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     // Bytes n
[INFO] [stdout] 19 |     SASLFinal(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     NegotiateProtocolVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Authentication` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `password`, `port`, `host`, and `database` are never read
[INFO] [stdout]  --> src/types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Connection {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     password: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     port: u32,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     host: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     database: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             sasl::authenticate(stream, &v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = sasl::authenticate(stream, &v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "2e55082c5df1d0fba38d78421b09d63575809d7d347e49755a7c4d38c681fa5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e55082c5df1d0fba38d78421b09d63575809d7d347e49755a7c4d38c681fa5a", kill_on_drop: false }`
[INFO] [stdout] 2e55082c5df1d0fba38d78421b09d63575809d7d347e49755a7c4d38c681fa5a
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e60ffae4ed9752e1716064c4812e2237796c84ddb15ba2861a4bf307bff5be4a
[INFO] running `Command { std: "docker" "start" "-a" "e60ffae4ed9752e1716064c4812e2237796c84ddb15ba2861a4bf307bff5be4a", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/messages/startup.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Bytes`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_binding`
[INFO] [stdout]   --> src/connection/sasl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_binding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/connection/sasl.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection/sasl.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[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: unreachable pattern
[INFO] [stdout]   --> src/connection.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         MessageFormat::Authentication(v) => v,
[INFO] [stdout]    |         -------------------------------- matches all the relevant values
[INFO] [stdout] 29 |         v => panic!("Message format not supported yet: {:?}", v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/connection.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn establish_connection(stream: &mut TcpStream) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GS2_HEADER` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const GS2_HEADER: &str = "n,,";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANNEL_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CHANNEL_ATTR: &str = "c";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USERNAME_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const USERNAME_ATTR: &str = "n";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_PROOF__ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CLIENT_PROOF__ATTR: &str = "p";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const NONCE_ATTR: &str = "r";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `authenticate` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SASLContinue`, `SASLFinal`, and `NegotiateProtocolVersion` are never constructed
[INFO] [stdout]   --> src/messages/authentication.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Authentication {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     SASLContinue(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     // Bytes n
[INFO] [stdout] 19 |     SASLFinal(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     NegotiateProtocolVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Authentication` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MessageFormat` is never used
[INFO] [stdout]  --> src/messages/format.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MessageFormat {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `decode` is never used
[INFO] [stdout]  --> src/messages/format.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl MessageFormat {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn decode(buf: &[u8]) -> Self {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling postgres-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `StartupMessage` is never constructed
[INFO] [stdout]  --> src/messages/startup.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct StartupMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StartupMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]   --> src/messages/startup.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl StartupMessage {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 14 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `protocol_version_to_i32` is never used
[INFO] [stdout]   --> src/messages/startup.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn protocol_version_to_i32(major: i16, minor: i16) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_parameter` is never used
[INFO] [stdout]   --> src/messages/startup.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn write_parameter(buf: &mut Vec<u8>, name: &str, value: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]  --> src/types.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Connection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/types.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(username: &str, password: &str, port: u32, host: &str, database: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             sasl::authenticate(stream, &v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = sasl::authenticate(stream, &v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/messages/startup.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/main.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Bytes`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/messages/startup.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Bytes`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_binding`
[INFO] [stdout]   --> src/connection/sasl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_binding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/connection/sasl.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_binding`
[INFO] [stdout]   --> src/connection/sasl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_binding`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/connection/sasl.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/connection/sasl.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/connection/sasl.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut channel_binding = format!("{CHANNEL_ATTR}=");
[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: unreachable pattern
[INFO] [stdout]   --> src/connection.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         MessageFormat::Authentication(v) => v,
[INFO] [stdout]    |         -------------------------------- matches all the relevant values
[INFO] [stdout] 29 |         v => panic!("Message format not supported yet: {:?}", v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/connection.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         MessageFormat::Authentication(v) => v,
[INFO] [stdout]    |         -------------------------------- matches all the relevant values
[INFO] [stdout] 29 |         v => panic!("Message format not supported yet: {:?}", v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/connection.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn establish_connection(stream: &mut TcpStream) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GS2_HEADER` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const GS2_HEADER: &str = "n,,";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANNEL_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const CHANNEL_ATTR: &str = "c";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USERNAME_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const USERNAME_ATTR: &str = "n";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_PROOF__ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CLIENT_PROOF__ATTR: &str = "p";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const NONCE_ATTR: &str = "r";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `authenticate` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn authenticate(stream: &mut TcpStream, supported_methods: &Vec<String>) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SASLContinue`, `SASLFinal`, and `NegotiateProtocolVersion` are never constructed
[INFO] [stdout]   --> src/messages/authentication.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Authentication {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     SASLContinue(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     // Bytes n
[INFO] [stdout] 19 |     SASLFinal(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     NegotiateProtocolVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Authentication` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MessageFormat` is never used
[INFO] [stdout]  --> src/messages/format.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MessageFormat {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MessageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `decode` is never used
[INFO] [stdout]  --> src/messages/format.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl MessageFormat {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn decode(buf: &[u8]) -> Self {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartupMessage` is never constructed
[INFO] [stdout]  --> src/messages/startup.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct StartupMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StartupMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]   --> src/messages/startup.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl StartupMessage {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 14 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_parameter` is never used
[INFO] [stdout]   --> src/messages/startup.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn write_parameter(buf: &mut Vec<u8>, name: &str, value: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]  --> src/types.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Connection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/types.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(username: &str, password: &str, port: u32, host: &str, database: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GS2_HEADER` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const GS2_HEADER: &str = "n,,";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USERNAME_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const USERNAME_ATTR: &str = "n";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLIENT_PROOF__ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CLIENT_PROOF__ATTR: &str = "p";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             sasl::authenticate(stream, &v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = sasl::authenticate(stream, &v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NONCE_ATTR` is never used
[INFO] [stdout]  --> src/connection/sasl.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const NONCE_ATTR: &str = "r";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SASLContinue`, `SASLFinal`, and `NegotiateProtocolVersion` are never constructed
[INFO] [stdout]   --> src/messages/authentication.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum Authentication {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     SASLContinue(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     // Bytes n
[INFO] [stdout] 19 |     SASLFinal(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     NegotiateProtocolVersion,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Authentication` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `password`, `port`, `host`, and `database` are never read
[INFO] [stdout]  --> src/types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Connection {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     password: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     port: u32,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     host: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     database: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             sasl::authenticate(stream, &v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let _ = sasl::authenticate(stream, &v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "e60ffae4ed9752e1716064c4812e2237796c84ddb15ba2861a4bf307bff5be4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e60ffae4ed9752e1716064c4812e2237796c84ddb15ba2861a4bf307bff5be4a", kill_on_drop: false }`
[INFO] [stdout] e60ffae4ed9752e1716064c4812e2237796c84ddb15ba2861a4bf307bff5be4a
