[INFO] cloning repository https://github.com/imokoi/axum-with-jwt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imokoi/axum-with-jwt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimokoi%2Faxum-with-jwt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimokoi%2Faxum-with-jwt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a281e505ebebd1036f47aadd525231cb6633393 [INFO] testing imokoi/axum-with-jwt against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimokoi%2Faxum-with-jwt" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imokoi/axum-with-jwt [INFO] finished tweaking git repo https://github.com/imokoi/axum-with-jwt [INFO] tweaked toml for git repo https://github.com/imokoi/axum-with-jwt written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imokoi/axum-with-jwt 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/imokoi/axum-with-jwt 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded axum-core v0.2.8 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded jsonwebtoken v8.1.1 [INFO] [stderr] Downloaded futures-executor v0.3.24 [INFO] [stderr] Downloaded headers v0.3.8 [INFO] [stderr] Downloaded pem v1.1.0 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded axum v0.5.16 [INFO] [stderr] Downloaded time v0.3.15 [INFO] [stderr] Downloaded iana-time-zone v0.1.47 [INFO] [stderr] Downloaded futures-macro v0.3.24 [INFO] [stderr] Downloaded futures-sink v0.3.25 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded tokio v1.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8af092b1475cf85c3a7aec465f4218b73ff50f96607450ec6a85afb2f1aca19 [INFO] running `Command { std: "docker" "start" "-a" "a8af092b1475cf85c3a7aec465f4218b73ff50f96607450ec6a85afb2f1aca19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8af092b1475cf85c3a7aec465f4218b73ff50f96607450ec6a85afb2f1aca19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8af092b1475cf85c3a7aec465f4218b73ff50f96607450ec6a85afb2f1aca19", kill_on_drop: false }` [INFO] [stdout] a8af092b1475cf85c3a7aec465f4218b73ff50f96607450ec6a85afb2f1aca19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e28c27a65b80c4f99f4212b393a20b8c0617791b0ca92ab950bd9777c0e24e6f [INFO] running `Command { std: "docker" "start" "-a" "e28c27a65b80c4f99f4212b393a20b8c0617791b0ca92ab950bd9777c0e24e6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling time v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling axum-core v0.2.8 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling axum v0.5.16 [INFO] [stderr] Compiling jsonwebtoken v8.1.1 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling test-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocket` [INFO] [stdout] --> src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::extract::ws::{Message, WebSocket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::sync::{broadcast, mpsc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | user_set: Mutex>, [INFO] [stdout] 32 | tx: broadcast::Sender, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.74s [INFO] running `Command { std: "docker" "inspect" "e28c27a65b80c4f99f4212b393a20b8c0617791b0ca92ab950bd9777c0e24e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28c27a65b80c4f99f4212b393a20b8c0617791b0ca92ab950bd9777c0e24e6f", kill_on_drop: false }` [INFO] [stdout] e28c27a65b80c4f99f4212b393a20b8c0617791b0ca92ab950bd9777c0e24e6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/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] 1987978b7b55d0bada4d5363df9174d70ca394d8dc189a062aee87a32cfdbb46 [INFO] running `Command { std: "docker" "start" "-a" "1987978b7b55d0bada4d5363df9174d70ca394d8dc189a062aee87a32cfdbb46", kill_on_drop: false }` [INFO] [stderr] Compiling test-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> examples/hello-tokio.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{future::Future, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client` [INFO] [stdout] --> examples/hello-tokio.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use mini_redis::{client, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocket` [INFO] [stdout] --> src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::extract::ws::{Message, WebSocket}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::sync::{broadcast, mpsc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | user_set: Mutex>, [INFO] [stdout] 32 | tx: broadcast::Sender, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "1987978b7b55d0bada4d5363df9174d70ca394d8dc189a062aee87a32cfdbb46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1987978b7b55d0bada4d5363df9174d70ca394d8dc189a062aee87a32cfdbb46", kill_on_drop: false }` [INFO] [stdout] 1987978b7b55d0bada4d5363df9174d70ca394d8dc189a062aee87a32cfdbb46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 87ca94d6a35f1a22e64fb6ec07ae5bbfde0c2f667cc82852b43f281d9101050f [INFO] running `Command { std: "docker" "start" "-a" "87ca94d6a35f1a22e64fb6ec07ae5bbfde0c2f667cc82852b43f281d9101050f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `future::Future` [INFO] [stderr] --> examples/hello-tokio.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{future::Future, thread, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `client` [INFO] [stderr] --> examples/hello-tokio.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use mini_redis::{client, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BorrowMut` and `Borrow` [INFO] [stderr] --> src/main.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WebSocket` [INFO] [stderr] --> src/main.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | use axum::extract::ws::{Message, WebSocket}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mpsc` [INFO] [stderr] --> src/main.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio::sync::{broadcast, mpsc, Mutex}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `tx` is never read [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 31 | user_set: Mutex>, [INFO] [stderr] 32 | tx: broadcast::Sender, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `test-axum` (example "hello-tokio") generated 2 warnings (run `cargo fix --example "hello-tokio"` to apply 2 suggestions) [INFO] [stderr] warning: `test-axum` (bin "test-axum" test) generated 5 warnings (run `cargo fix --bin "test-axum" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_axum-6bfac9f78e1136dc) [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" "87ca94d6a35f1a22e64fb6ec07ae5bbfde0c2f667cc82852b43f281d9101050f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ca94d6a35f1a22e64fb6ec07ae5bbfde0c2f667cc82852b43f281d9101050f", kill_on_drop: false }` [INFO] [stdout] 87ca94d6a35f1a22e64fb6ec07ae5bbfde0c2f667cc82852b43f281d9101050f