[INFO] fetching crate simplesocket 1.0.0...
[INFO] testing simplesocket-1.0.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate simplesocket 1.0.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate simplesocket 1.0.0
[INFO] finished tweaking crates.io crate simplesocket 1.0.0
[INFO] tweaked toml for crates.io crate simplesocket 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate simplesocket 1.0.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 180 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding tokio-tungstenite v0.17.2 (available: v0.29.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbedd9cc12c66cf4bd73f69b0e9587fac11c65fb0e4ff7ba837ece2946af0ad3
[INFO] running `Command { std: "docker" "start" "-a" "bbedd9cc12c66cf4bd73f69b0e9587fac11c65fb0e4ff7ba837ece2946af0ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbedd9cc12c66cf4bd73f69b0e9587fac11c65fb0e4ff7ba837ece2946af0ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbedd9cc12c66cf4bd73f69b0e9587fac11c65fb0e4ff7ba837ece2946af0ad3", kill_on_drop: false }`
[INFO] [stdout] bbedd9cc12c66cf4bd73f69b0e9587fac11c65fb0e4ff7ba837ece2946af0ad3
[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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fba103a311bb3c9939fa7090b07cba673b1b9efa117d2f3c53d27fc56ba62859
[INFO] running `Command { std: "docker" "start" "-a" "fba103a311bb3c9939fa7090b07cba673b1b9efa117d2f3c53d27fc56ba62859", kill_on_drop: false }`
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tungstenite v0.17.3
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.17.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling simplesocket v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cell::Cell`
[INFO] [stdout]  --> src/context.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::Cell, collections::HashMap};
[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: `futures::Future`
[INFO] [stdout]  --> src/context.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/context.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{mpsc, RwLock, Mutex};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]  --> src/subscription.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/subscription.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/message.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize, de::{Visitor, Error}};
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/lib.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::sync::{mpsc::channel, RwLock};
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:16:76
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn connect_socket(project_id: &'static str, token: &'static str, mut events: impl Events) {
[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: unused variable: `val`
[INFO] [stdout]   --> src/message.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let val = serde_json::Value::deserialize(deserializer)?.as_array().unwrap_or(Err(Error::custom("not an array"))?);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hash` and `filter` are never read
[INFO] [stdout]   --> src/subscription.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Subscription {
[INFO] [stdout]    |                   ------------ fields in this struct
[INFO] [stdout] 12 |     pub hash: i64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub callback: Arc<Box<dyn Subscriber + 'static + Send + Sync>>,
[INFO] [stdout] 14 |     pub filter: Value,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Publish`, `Edit`, `Unsubscribe`, `Remote`, and `DefaultConfig` are never constructed
[INFO] [stdout]   --> src/message.rs:58:2
[INFO] [stdout]    |
[INFO] [stdout] 55 | enum MessageType {
[INFO] [stdout]    |      ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 |     Publish = 3,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 59 |     Edit = 4,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 60 |     Unsubscribe = 5,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 61 |     Remote = 6,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 62 |     DefaultConfig = 7,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "fba103a311bb3c9939fa7090b07cba673b1b9efa117d2f3c53d27fc56ba62859", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fba103a311bb3c9939fa7090b07cba673b1b9efa117d2f3c53d27fc56ba62859", kill_on_drop: false }`
[INFO] [stdout] fba103a311bb3c9939fa7090b07cba673b1b9efa117d2f3c53d27fc56ba62859
[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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40476f2a96c585a4ffa656b8657d22bb9dfde11e7b9bcd4cf8b509f3fb760c99
[INFO] running `Command { std: "docker" "start" "-a" "40476f2a96c585a4ffa656b8657d22bb9dfde11e7b9bcd4cf8b509f3fb760c99", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `cell::Cell`
[INFO] [stdout]  --> src/context.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::Cell, collections::HashMap};
[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: `futures::Future`
[INFO] [stdout]  --> src/context.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/context.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{mpsc, RwLock, Mutex};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]  --> src/subscription.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/subscription.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/message.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize, de::{Visitor, Error}};
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/lib.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::sync::{mpsc::channel, RwLock};
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:16:76
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn connect_socket(project_id: &'static str, token: &'static str, mut events: impl Events) {
[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: unused variable: `val`
[INFO] [stdout]   --> src/message.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let val = serde_json::Value::deserialize(deserializer)?.as_array().unwrap_or(Err(Error::custom("not an array"))?);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hash` and `filter` are never read
[INFO] [stdout]   --> src/subscription.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Subscription {
[INFO] [stdout]    |                   ------------ fields in this struct
[INFO] [stdout] 12 |     pub hash: i64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub callback: Arc<Box<dyn Subscriber + 'static + Send + Sync>>,
[INFO] [stdout] 14 |     pub filter: Value,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Publish`, `Edit`, `Unsubscribe`, `Remote`, and `DefaultConfig` are never constructed
[INFO] [stdout]   --> src/message.rs:58:2
[INFO] [stdout]    |
[INFO] [stdout] 55 | enum MessageType {
[INFO] [stdout]    |      ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 |     Publish = 3,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 59 |     Edit = 4,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 60 |     Unsubscribe = 5,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 61 |     Remote = 6,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 62 |     DefaultConfig = 7,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling simplesocket v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cell::Cell`
[INFO] [stdout]  --> src/context.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::Cell, collections::HashMap};
[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: `futures::Future`
[INFO] [stdout]  --> src/context.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/context.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{mpsc, RwLock, Mutex};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]  --> src/subscription.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/subscription.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/message.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize, de::{Visitor, Error}};
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]   --> src/lib.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::sync::{mpsc::channel, RwLock};
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:16:76
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn connect_socket(project_id: &'static str, token: &'static str, mut events: impl Events) {
[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: unused variable: `val`
[INFO] [stdout]   --> src/message.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let val = serde_json::Value::deserialize(deserializer)?.as_array().unwrap_or(Err(Error::custom("not an array"))?);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hash` and `filter` are never read
[INFO] [stdout]   --> src/subscription.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Subscription {
[INFO] [stdout]    |                   ------------ fields in this struct
[INFO] [stdout] 12 |     pub hash: i64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub callback: Arc<Box<dyn Subscriber + 'static + Send + Sync>>,
[INFO] [stdout] 14 |     pub filter: Value,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Publish`, `Edit`, `Unsubscribe`, `Remote`, and `DefaultConfig` are never constructed
[INFO] [stdout]   --> src/message.rs:58:2
[INFO] [stdout]    |
[INFO] [stdout] 55 | enum MessageType {
[INFO] [stdout]    |      ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 |     Publish = 3,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 59 |     Edit = 4,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 60 |     Unsubscribe = 5,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 61 |     Remote = 6,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 62 |     DefaultConfig = 7,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "40476f2a96c585a4ffa656b8657d22bb9dfde11e7b9bcd4cf8b509f3fb760c99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40476f2a96c585a4ffa656b8657d22bb9dfde11e7b9bcd4cf8b509f3fb760c99", kill_on_drop: false }`
[INFO] [stdout] 40476f2a96c585a4ffa656b8657d22bb9dfde11e7b9bcd4cf8b509f3fb760c99
[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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ba5054e3fd4b0267fcf4397c33d6440029d79e9fdd9309653c9f63ccd103d4b4
[INFO] running `Command { std: "docker" "start" "-a" "ba5054e3fd4b0267fcf4397c33d6440029d79e9fdd9309653c9f63ccd103d4b4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `cell::Cell`
[INFO] [stderr]  --> src/context.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{cell::Cell, collections::HashMap};
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::Future`
[INFO] [stderr]  --> src/context.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use futures::Future;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RwLock`
[INFO] [stderr]   --> src/context.rs:10:25
[INFO] [stderr]    |
[INFO] [stderr] 10 | use tokio::sync::{mpsc, RwLock, Mutex};
[INFO] [stderr]    |                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::Future`
[INFO] [stderr]  --> src/subscription.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use futures::Future;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::Serialize`
[INFO] [stderr]  --> src/subscription.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde::Serialize;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Visitor`
[INFO] [stderr]  --> src/message.rs:1:42
[INFO] [stderr]   |
[INFO] [stderr] 1 | use serde::{Serialize, Deserialize, de::{Visitor, Error}};
[INFO] [stderr]   |                                          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]   --> src/lib.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use serde_json::json;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RwLock`
[INFO] [stderr]   --> src/lib.rs:11:34
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tokio::sync::{mpsc::channel, RwLock};
[INFO] [stderr]    |                                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lib.rs:16:76
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub async fn connect_socket(project_id: &'static str, token: &'static str, mut events: impl Events) {
[INFO] [stderr]    |                                                                            ----^^^^^^
[INFO] [stderr]    |                                                                            |
[INFO] [stderr]    |                                                                            help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/message.rs:49:7
[INFO] [stderr]    |
[INFO] [stderr] 49 |         let val = serde_json::Value::deserialize(deserializer)?.as_array().unwrap_or(Err(Error::custom("not an array"))?);
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `hash` and `filter` are never read
[INFO] [stderr]   --> src/subscription.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub(crate) struct Subscription {
[INFO] [stderr]    |                   ------------ fields in this struct
[INFO] [stderr] 12 |     pub hash: i64,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 13 |     pub callback: Arc<Box<dyn Subscriber + 'static + Send + Sync>>,
[INFO] [stderr] 14 |     pub filter: Value,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Publish`, `Edit`, `Unsubscribe`, `Remote`, and `DefaultConfig` are never constructed
[INFO] [stderr]   --> src/message.rs:58:2
[INFO] [stderr]    |
[INFO] [stderr] 55 | enum MessageType {
[INFO] [stderr]    |      ----------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 58 |     Publish = 3,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 59 |     Edit = 4,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 60 |     Unsubscribe = 5,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 61 |     Remote = 6,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 62 |     DefaultConfig = 7,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `simplesocket` (lib) generated 12 warnings (run `cargo fix --lib -p simplesocket` to apply 10 suggestions)
[INFO] [stderr] warning: `simplesocket` (lib test) generated 12 warnings (12 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simplesocket-b7b937df3179c7d1)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests simplesocket
[INFO] [stdout] running 1 test
[INFO] [stdout] test context::test_hash ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ba5054e3fd4b0267fcf4397c33d6440029d79e9fdd9309653c9f63ccd103d4b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba5054e3fd4b0267fcf4397c33d6440029d79e9fdd9309653c9f63ccd103d4b4", kill_on_drop: false }`
[INFO] [stdout] ba5054e3fd4b0267fcf4397c33d6440029d79e9fdd9309653c9f63ccd103d4b4
