[INFO] cloning repository https://github.com/ifnk/ifnk_axum_util [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifnk/ifnk_axum_util" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifnk%2Fifnk_axum_util", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifnk%2Fifnk_axum_util'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e28ee89145314de430a9854ce624cecf4f95e78d [INFO] testing ifnk/ifnk_axum_util against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifnk%2Fifnk_axum_util" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ifnk/ifnk_axum_util on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ifnk/ifnk_axum_util [INFO] finished tweaking git repo https://github.com/ifnk/ifnk_axum_util [INFO] tweaked toml for git repo https://github.com/ifnk/ifnk_axum_util written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ifnk/ifnk_axum_util 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing ifnk/ifnk_axum_util against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifnk%2Fifnk_axum_util" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ifnk/ifnk_axum_util on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ifnk/ifnk_axum_util [INFO] finished tweaking git repo https://github.com/ifnk/ifnk_axum_util [INFO] tweaked toml for git repo https://github.com/ifnk/ifnk_axum_util written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ifnk/ifnk_axum_util 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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9065179ae289712600680663c9415a3360be7722b8ac929cfcadb16ea47c495a [INFO] running `Command { std: "docker" "start" "-a" "9065179ae289712600680663c9415a3360be7722b8ac929cfcadb16ea47c495a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9065179ae289712600680663c9415a3360be7722b8ac929cfcadb16ea47c495a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9065179ae289712600680663c9415a3360be7722b8ac929cfcadb16ea47c495a", kill_on_drop: false }` [INFO] [stdout] 9065179ae289712600680663c9415a3360be7722b8ac929cfcadb16ea47c495a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa3dd7dc943704a12c97997e806452682a9d70fd28fb90e949a39d4ecf237be3 [INFO] running `Command { std: "docker" "start" "-a" "fa3dd7dc943704a12c97997e806452682a9d70fd28fb90e949a39d4ecf237be3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v3.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling brotli v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling iri-string v0.7.2 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling async-compression v0.4.8 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling ifnk_axum_util v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util_entity::response::json_success` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util_entity::response::json_success; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/util/ws_util.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{State, WebSocketUpgrade}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/util/ws_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/util/ws_util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/util/ws_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failed` [INFO] [stdout] --> src/util_entity/anyhow_res.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util_entity::response::{failed, json_failed, success}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/middleware/machineindex_header_middleware.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::{Request, State}, Json, middleware::Next, response::{IntoResponse, Response}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close` [INFO] [stdout] --> src/util/ws_util.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | Message::Close(close) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_close` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws_data` [INFO] [stdout] --> src/util/ws_util.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let ws_data: WSData = match serde_json::from_str(&content) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `machineIndex` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub machineIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `machine_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `getNewValUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub getNewValUrl: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_val_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `webUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub webUrl: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `web_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `runtimePath` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub runtimePath: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Port` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub Port: u32, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Addr` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Addr: String, // 电厂环境 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.93s [INFO] running `Command { std: "docker" "inspect" "fa3dd7dc943704a12c97997e806452682a9d70fd28fb90e949a39d4ecf237be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3dd7dc943704a12c97997e806452682a9d70fd28fb90e949a39d4ecf237be3", kill_on_drop: false }` [INFO] [stdout] fa3dd7dc943704a12c97997e806452682a9d70fd28fb90e949a39d4ecf237be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71dd6453d5fe8e3464d8e62cc7c39e06fb6f06d73789803c6b163ae39d5d03f9 [INFO] running `Command { std: "docker" "start" "-a" "71dd6453d5fe8e3464d8e62cc7c39e06fb6f06d73789803c6b163ae39d5d03f9", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::util_entity::response::json_success` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util_entity::response::json_success; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/util/ws_util.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{State, WebSocketUpgrade}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/util/ws_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/util/ws_util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/util/ws_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failed` [INFO] [stdout] --> src/util_entity/anyhow_res.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util_entity::response::{failed, json_failed, success}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/middleware/machineindex_header_middleware.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::{Request, State}, Json, middleware::Next, response::{IntoResponse, Response}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close` [INFO] [stdout] --> src/util/ws_util.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | Message::Close(close) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_close` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws_data` [INFO] [stdout] --> src/util/ws_util.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let ws_data: WSData = match serde_json::from_str(&content) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `machineIndex` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub machineIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `machine_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `getNewValUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub getNewValUrl: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_val_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `webUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub webUrl: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `web_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `runtimePath` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub runtimePath: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Port` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub Port: u32, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Addr` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Addr: String, // 电厂环境 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ifnk_axum_util v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util_entity::response::json_success` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util_entity::response::json_success; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/util/ws_util.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{State, WebSocketUpgrade}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/util/ws_util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/util/ws_util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/util/ws_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failed` [INFO] [stdout] --> src/util_entity/anyhow_res.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util_entity::response::{failed, json_failed, success}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/middleware/machineindex_header_middleware.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::{Request, State}, Json, middleware::Next, response::{IntoResponse, Response}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close` [INFO] [stdout] --> src/util/ws_util.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | Message::Close(close) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_close` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws_data` [INFO] [stdout] --> src/util/ws_util.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let ws_data: WSData = match serde_json::from_str(&content) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `machineIndex` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub machineIndex: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `machine_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `getNewValUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub getNewValUrl: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_val_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `webUrl` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub webUrl: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `web_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `runtimePath` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub runtimePath: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Port` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub Port: u32, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Addr` should have a snake case name [INFO] [stdout] --> src/util_entity/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub Addr: String, // 电厂环境 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "71dd6453d5fe8e3464d8e62cc7c39e06fb6f06d73789803c6b163ae39d5d03f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71dd6453d5fe8e3464d8e62cc7c39e06fb6f06d73789803c6b163ae39d5d03f9", kill_on_drop: false }` [INFO] [stdout] 71dd6453d5fe8e3464d8e62cc7c39e06fb6f06d73789803c6b163ae39d5d03f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c39da73fa4e67439bdc42ce45008ae1e1035fb5fb6fcf74c7ba1c477bc388ad0 [INFO] running `Command { std: "docker" "start" "-a" "c39da73fa4e67439bdc42ce45008ae1e1035fb5fb6fcf74c7ba1c477bc388ad0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::util_entity::response::json_success` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::util_entity::response::json_success; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `State` [INFO] [stderr] --> src/util/ws_util.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::extract::{State, WebSocketUpgrade}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/util/ws_util.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> src/util/ws_util.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Local` [INFO] [stderr] --> src/util/ws_util.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::Local; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `failed` [INFO] [stderr] --> src/util_entity/anyhow_res.rs:7:36 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::util_entity::response::{failed, json_failed, success}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `State` [INFO] [stderr] --> src/middleware/machineindex_header_middleware.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{extract::{Request, State}, Json, middleware::Next, response::{IntoResponse, Response}}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `close` [INFO] [stderr] --> src/util/ws_util.rs:54:36 [INFO] [stderr] | [INFO] [stderr] 54 | Message::Close(close) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_close` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ws_data` [INFO] [stderr] --> src/util/ws_util.rs:65:21 [INFO] [stderr] | [INFO] [stderr] 65 | let ws_data: WSData = match serde_json::from_str(&content) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_data` [INFO] [stderr] [INFO] [stderr] warning: structure field `machineIndex` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub machineIndex: u32, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `machine_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `getNewValUrl` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub getNewValUrl: String, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_new_val_url` [INFO] [stderr] [INFO] [stderr] warning: structure field `webUrl` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub webUrl: String, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `web_url` [INFO] [stderr] [INFO] [stderr] warning: structure field `runtimePath` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub runtimePath: String, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `runtime_path` [INFO] [stderr] [INFO] [stderr] warning: structure field `Port` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub Port: u32, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stderr] [INFO] [stderr] warning: structure field `Addr` should have a snake case name [INFO] [stderr] --> src/util_entity/config.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub Addr: String, // 电厂环境 [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `addr` [INFO] [stderr] [INFO] [stderr] warning: `ifnk_axum_util` (lib) generated 15 warnings (run `cargo fix --lib -p ifnk_axum_util` to apply 7 suggestions) [INFO] [stderr] warning: `ifnk_axum_util` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ifnk_axum_util-08b745df9e616600) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... 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] [stderr] Doc-tests ifnk_axum_util [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" "c39da73fa4e67439bdc42ce45008ae1e1035fb5fb6fcf74c7ba1c477bc388ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39da73fa4e67439bdc42ce45008ae1e1035fb5fb6fcf74c7ba1c477bc388ad0", kill_on_drop: false }` [INFO] [stdout] c39da73fa4e67439bdc42ce45008ae1e1035fb5fb6fcf74c7ba1c477bc388ad0