[INFO] cloning repository https://github.com/CountTo25/state-emitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CountTo25/state-emitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountTo25%2Fstate-emitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountTo25%2Fstate-emitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 776c484348249e04e9c50642545e63c33b79a098 [INFO] testing CountTo25/state-emitter against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountTo25%2Fstate-emitter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CountTo25/state-emitter [INFO] finished tweaking git repo https://github.com/CountTo25/state-emitter [INFO] tweaked toml for git repo https://github.com/CountTo25/state-emitter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CountTo25/state-emitter on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CountTo25/state-emitter 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.14.0 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded uuid v0.4.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90625cd7a12ff68083220755b6bfdd852e90bf01c7f964e70b3cb37e3660e294 [INFO] running `Command { std: "docker" "start" "-a" "90625cd7a12ff68083220755b6bfdd852e90bf01c7f964e70b3cb37e3660e294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90625cd7a12ff68083220755b6bfdd852e90bf01c7f964e70b3cb37e3660e294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90625cd7a12ff68083220755b6bfdd852e90bf01c7f964e70b3cb37e3660e294", kill_on_drop: false }` [INFO] [stdout] 90625cd7a12ff68083220755b6bfdd852e90bf01c7f964e70b3cb37e3660e294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d23a13041c2252ce3d7c89cd08adfb079934dbe4295594c7ef571ad20ce8f5a2 [INFO] running `Command { std: "docker" "start" "-a" "d23a13041c2252ce3d7c89cd08adfb079934dbe4295594c7ef571ad20ce8f5a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling uuid v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling state-emitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/types/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/container/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/container/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/controllers/stores/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let val = open_store.insert(key.to_string(), incrementer).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/controllers/stores/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | store: Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wsr` [INFO] [stdout] --> src/controllers/stores/mod.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let (wss, wsr) = socket.split(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wsr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `toString` should have a snake case name [INFO] [stdout] --> src/types/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn toString(&self) -> String; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/types/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [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] 18 | let _ = self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateValue` should have a snake case name [INFO] [stdout] --> src/container/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn updateValue(&self, mut unlocked: std::sync::RwLockWriteGuard) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d23a13041c2252ce3d7c89cd08adfb079934dbe4295594c7ef571ad20ce8f5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23a13041c2252ce3d7c89cd08adfb079934dbe4295594c7ef571ad20ce8f5a2", kill_on_drop: false }` [INFO] [stdout] d23a13041c2252ce3d7c89cd08adfb079934dbe4295594c7ef571ad20ce8f5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 85dbbfd6037e8f3dae1cb643cf77428fa6998e16f796e1ff7565a17743919d72 [INFO] running `Command { std: "docker" "start" "-a" "85dbbfd6037e8f3dae1cb643cf77428fa6998e16f796e1ff7565a17743919d72", kill_on_drop: false }` [INFO] [stderr] Compiling state-emitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/types/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/container/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/container/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/controllers/stores/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let val = open_store.insert(key.to_string(), incrementer).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/controllers/stores/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | store: Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wsr` [INFO] [stdout] --> src/controllers/stores/mod.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let (wss, wsr) = socket.split(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wsr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `toString` should have a snake case name [INFO] [stdout] --> src/types/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn toString(&self) -> String; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/types/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [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] 18 | let _ = self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateValue` should have a snake case name [INFO] [stdout] --> src/container/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn updateValue(&self, mut unlocked: std::sync::RwLockWriteGuard) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "85dbbfd6037e8f3dae1cb643cf77428fa6998e16f796e1ff7565a17743919d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85dbbfd6037e8f3dae1cb643cf77428fa6998e16f796e1ff7565a17743919d72", kill_on_drop: false }` [INFO] [stdout] 85dbbfd6037e8f3dae1cb643cf77428fa6998e16f796e1ff7565a17743919d72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 143d7c8a0d9d8e29b0ad35693f44981d3fc7a9ab49016e4a59166bb65417943e [INFO] running `Command { std: "docker" "start" "-a" "143d7c8a0d9d8e29b0ad35693f44981d3fc7a9ab49016e4a59166bb65417943e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/types/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/container/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/container/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/controllers/stores/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let val = open_store.insert(key.to_string(), incrementer).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `store` [INFO] [stderr] --> src/controllers/stores/mod.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | store: Arc>>>, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wsr` [INFO] [stderr] --> src/controllers/stores/mod.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | let (wss, wsr) = socket.split(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_wsr` [INFO] [stderr] [INFO] [stderr] warning: trait method `toString` should have a snake case name [INFO] [stderr] --> src/types/mod.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | fn toString(&self) -> String; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/types/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 18 | let _ = self.reciever.send(Ok(warp::ws::Message::text(format!("subject:{}|value:{}", subject, value)))); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: method `updateValue` should have a snake case name [INFO] [stderr] --> src/container/mod.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | fn updateValue(&self, mut unlocked: std::sync::RwLockWriteGuard) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_value` [INFO] [stderr] [INFO] [stderr] warning: `state-emitter` (bin "state-emitter" test) generated 9 warnings (run `cargo fix --bin "state-emitter" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/state_emitter-e38c299c8c2e8a77) [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" "143d7c8a0d9d8e29b0ad35693f44981d3fc7a9ab49016e4a59166bb65417943e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143d7c8a0d9d8e29b0ad35693f44981d3fc7a9ab49016e4a59166bb65417943e", kill_on_drop: false }` [INFO] [stdout] 143d7c8a0d9d8e29b0ad35693f44981d3fc7a9ab49016e4a59166bb65417943e