[INFO] fetching crate gadu 0.1.3...
[INFO] checking gadu-0.1.3 against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] extracting crate gadu 0.1.3 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate gadu 0.1.3
[INFO] finished tweaking crates.io crate gadu 0.1.3
[INFO] tweaked toml for crates.io crate gadu 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gadu 0.1.3 on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 90 packages to latest compatible versions
[INFO] [stderr]       Adding crossbeam v0.7.3 (available: v0.8.4)
[INFO] [stderr]       Adding crossbeam-channel v0.3.9 (available: v0.5.15)
[INFO] [stderr]       Adding hashbrown v0.1.8 (available: v0.17.1)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.32)
[INFO] [stderr]       Adding mio v0.6.23 (available: v1.2.1)
[INFO] [stderr]       Adding parking_lot v0.7.1 (available: v0.12.5)
[INFO] [stderr]       Adding url v1.7.2 (available: v2.5.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1
[INFO] running `Command { std: "docker" "start" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking hashbrown v0.1.8
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking gadu v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/conn.rs:378:53
[INFO] [stdout]     |
[INFO] [stdout] 378 |     pub fn write(&mut self, buf: &[u8]) -> IoResult<(usize)> {
[INFO] [stdout]     |                                                     ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 378 -     pub fn write(&mut self, buf: &[u8]) -> IoResult<(usize)> {
[INFO] [stdout] 378 +     pub fn write(&mut self, buf: &[u8]) -> IoResult<usize> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `return` value
[INFO] [stdout]   --> src/events.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |             return { Err(e.to_string()) };
[INFO] [stdout]    |                    ^^                  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 83 -             return { Err(e.to_string()) };
[INFO] [stdout] 83 +             return Err(e.to_string());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/conn.rs:378:53
[INFO] [stdout]     |
[INFO] [stdout] 378 |     pub fn write(&mut self, buf: &[u8]) -> IoResult<(usize)> {
[INFO] [stdout]     |                                                     ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 378 -     pub fn write(&mut self, buf: &[u8]) -> IoResult<(usize)> {
[INFO] [stdout] 378 +     pub fn write(&mut self, buf: &[u8]) -> IoResult<usize> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `return` value
[INFO] [stdout]   --> src/events.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |             return { Err(e.to_string()) };
[INFO] [stdout]    |                    ^^                  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 83 -             return { Err(e.to_string()) };
[INFO] [stdout] 83 +             return Err(e.to_string());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use std::thread;
[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: `crate::conn::Conn`
[INFO] [stdout]   --> src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::conn::Conn;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::server::Server`
[INFO] [stdout]   --> src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use crate::server::Server;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network_server.rs:68:50
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn server_loop(&self, net_event_handler: Arc<NetEvents>) {
[INFO] [stdout]    |                                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn server_loop(&self, net_event_handler: Arc<dyn NetEvents>) {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network_server.rs:68:50
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn server_loop(&self, net_event_handler: Arc<NetEvents>) {
[INFO] [stdout]    |                                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn server_loop(&self, net_event_handler: Arc<dyn NetEvents>) {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `openssl::asn1::Asn1StringRef::as_utf8`: truncates at the first interior NUL byte; use `to_string` instead
[INFO] [stdout]    --> src/server.rs:363:26
[INFO] [stdout]     |
[INFO] [stdout] 363 |                         .as_utf8()
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `openssl::asn1::Asn1StringRef::as_utf8`: truncates at the first interior NUL byte; use `to_string` instead
[INFO] [stdout]    --> src/server.rs:363:26
[INFO] [stdout]     |
[INFO] [stdout] 363 |                         .as_utf8()
[INFO] [stdout]     |                          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut read_buffer = [0; 32768];
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:233:33
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     if let Some(mut conn) = streams.get_mut(&msg.id) {
[INFO] [stdout]     |                                 ----^^^^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_handler`
[INFO] [stdout]    --> src/events.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |         event_handler: &T,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_handler`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_buffer`
[INFO] [stdout]    --> src/events.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut read_buffer = [0; 32768];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut read_buffer = [0; 32768];
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:233:33
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     if let Some(mut conn) = streams.get_mut(&msg.id) {
[INFO] [stdout]     |                                 ----^^^^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_handler`
[INFO] [stdout]    --> src/events.rs:204:9
[INFO] [stdout]     |
[INFO] [stdout] 204 |         event_handler: &T,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_handler`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_buffer`
[INFO] [stdout]    --> src/events.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut read_buffer = [0; 32768];
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:426:41
[INFO] [stdout]     |
[INFO] [stdout] 426 |     fn handle_event<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &T) -> bool
[INFO] [stdout]     |                                         ----^^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:450:42
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn handle_event2<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &Arc<T>) -> bool
[INFO] [stdout]     |                                          ----^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:426:41
[INFO] [stdout]     |
[INFO] [stdout] 426 |     fn handle_event<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &T) -> bool
[INFO] [stdout]     |                                         ----^^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/events.rs:450:42
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn handle_event2<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &Arc<T>) -> bool
[INFO] [stdout]     |                                          ----^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `close_connection` and `handle_event` are never used
[INFO] [stdout]    --> src/events.rs:404:8
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl ConnEventHandler {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 404 |     fn close_connection<T>(&self, id: usize, mut conn: &mut Conn, event_handler: &T) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     fn handle_event<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &T) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `close_connection` and `handle_event` are never used
[INFO] [stdout]    --> src/events.rs:404:8
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl ConnEventHandler {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 404 |     fn close_connection<T>(&self, id: usize, mut conn: &mut Conn, event_handler: &T) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     fn handle_event<T>(&self, id:usize, mut conn: &mut Conn, mut read_buffer: &mut [u8], event_handler: &T) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.71s
[INFO] running `Command { std: "docker" "inspect" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1", kill_on_drop: false }`
[INFO] [stdout] f43ca3a003a7302230aa30b4a2e0c252353c9ebe2fcec6a616e822191b1cecd1
