[INFO] cloning repository https://github.com/ipconfiger/test_rust_build [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ipconfiger/test_rust_build" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipconfiger%2Ftest_rust_build", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipconfiger%2Ftest_rust_build'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a320d4e408d57b7bd154cbbe2df3f187d36b87b [INFO] testing ipconfiger/test_rust_build against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipconfiger%2Ftest_rust_build" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ipconfiger/test_rust_build on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ipconfiger/test_rust_build [INFO] finished tweaking git repo https://github.com/ipconfiger/test_rust_build [INFO] tweaked toml for git repo https://github.com/ipconfiger/test_rust_build written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ipconfiger/test_rust_build 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating shuibiao v0.1.0 (/workspace/builds/worker-2-tc1/source) -> v0.1.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxxbridge-macro v1.0.92 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.92 [INFO] [stderr] Downloaded cxx-build v1.0.92 [INFO] [stderr] Downloaded cxx v1.0.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aabc8daae317f49c8886597cac4f3e4c3f3684cb45fc45e31160f8cae16c3127 [INFO] running `Command { std: "docker" "start" "-a" "aabc8daae317f49c8886597cac4f3e4c3f3684cb45fc45e31160f8cae16c3127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aabc8daae317f49c8886597cac4f3e4c3f3684cb45fc45e31160f8cae16c3127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabc8daae317f49c8886597cac4f3e4c3f3684cb45fc45e31160f8cae16c3127", kill_on_drop: false }` [INFO] [stdout] aabc8daae317f49c8886597cac4f3e4c3f3684cb45fc45e31160f8cae16c3127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 992248bfdc5f8f3494e375287c8aa65a9603c39e05328231b18aed852780676b [INFO] running `Command { std: "docker" "start" "-a" "992248bfdc5f8f3494e375287c8aa65a9603c39e05328231b18aed852780676b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.24 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling shuibiao v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromRequest` [INFO] [stdout] --> src/main.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder, FromRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | Err(e) => State{ts:0, val:0.0} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stdout] --> src/main.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | .data(web::JsonConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stdout] --> src/main.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | .data(web::FormConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_state` is never used [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn write_state(state: &State) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imgUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | imgUrl: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `img_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devId` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | devId: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dev_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devName` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | devName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dev_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devVol` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | devVol: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dev_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `forwardType` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | forwardType: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `forward_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createTime` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | createTime: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isPointerMeter` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | isPointerMeter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_pointer_meter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isMultiRegionMeter` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | isMultiRegionMeter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_multi_region_meter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "992248bfdc5f8f3494e375287c8aa65a9603c39e05328231b18aed852780676b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992248bfdc5f8f3494e375287c8aa65a9603c39e05328231b18aed852780676b", kill_on_drop: false }` [INFO] [stdout] 992248bfdc5f8f3494e375287c8aa65a9603c39e05328231b18aed852780676b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98de05d7ca7311f76a086b476d024e9193629c5932b02dba4d49639707fddf3b [INFO] running `Command { std: "docker" "start" "-a" "98de05d7ca7311f76a086b476d024e9193629c5932b02dba4d49639707fddf3b", kill_on_drop: false }` [INFO] [stderr] Compiling shuibiao v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromRequest` [INFO] [stdout] --> src/main.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder, FromRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | Err(e) => State{ts:0, val:0.0} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stdout] --> src/main.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | .data(web::JsonConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stdout] --> src/main.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | .data(web::FormConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_state` is never used [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn write_state(state: &State) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imgUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | imgUrl: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `img_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devId` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | devId: Option, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dev_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devName` should have a snake case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | devName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dev_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `devVol` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | devVol: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `dev_vol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `forwardType` should have a snake case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | forwardType: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `forward_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createTime` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | createTime: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isPointerMeter` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | isPointerMeter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_pointer_meter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isMultiRegionMeter` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | isMultiRegionMeter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_multi_region_meter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "98de05d7ca7311f76a086b476d024e9193629c5932b02dba4d49639707fddf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98de05d7ca7311f76a086b476d024e9193629c5932b02dba4d49639707fddf3b", kill_on_drop: false }` [INFO] [stdout] 98de05d7ca7311f76a086b476d024e9193629c5932b02dba4d49639707fddf3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd66cf7c896bb9f4d7e02b18e207f7fabd94aae5444c2c0a63c8419bb6654c29 [INFO] running `Command { std: "docker" "start" "-a" "dd66cf7c896bb9f4d7e02b18e207f7fabd94aae5444c2c0a63c8419bb6654c29", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FromRequest` [INFO] [stderr] --> src/main.rs:1:75 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder, FromRequest}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | Err(e) => State{ts:0, val:0.0} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stderr] --> src/main.rs:135:14 [INFO] [stderr] | [INFO] [stderr] 135 | .data(web::JsonConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stderr] --> src/main.rs:136:14 [INFO] [stderr] | [INFO] [stderr] 136 | .data(web::FormConfig::default().limit( 10 * 1024 * 1024)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_state` is never used [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | async fn write_state(state: &State) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `imgUrl` should have a snake case name [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | imgUrl: Option, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `img_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `devId` should have a snake case name [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | devId: Option, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dev_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `devName` should have a snake case name [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | devName: Option, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `dev_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `devVol` should have a snake case name [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | devVol: Option, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `dev_vol` [INFO] [stderr] [INFO] [stderr] warning: structure field `forwardType` should have a snake case name [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | forwardType: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `forward_type` [INFO] [stderr] [INFO] [stderr] warning: structure field `createTime` should have a snake case name [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | createTime: Option, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_time` [INFO] [stderr] [INFO] [stderr] warning: structure field `isPointerMeter` should have a snake case name [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | isPointerMeter: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_pointer_meter` [INFO] [stderr] [INFO] [stderr] warning: structure field `isMultiRegionMeter` should have a snake case name [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | isMultiRegionMeter: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_multi_region_meter` [INFO] [stderr] [INFO] [stderr] warning: `shuibiao` (bin "shuibiao" test) generated 13 warnings (run `cargo fix --bin "shuibiao" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shuibiao-eabf942018e55f42) [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" "dd66cf7c896bb9f4d7e02b18e207f7fabd94aae5444c2c0a63c8419bb6654c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd66cf7c896bb9f4d7e02b18e207f7fabd94aae5444c2c0a63c8419bb6654c29", kill_on_drop: false }` [INFO] [stdout] dd66cf7c896bb9f4d7e02b18e207f7fabd94aae5444c2c0a63c8419bb6654c29 [INFO] testing ipconfiger/test_rust_build against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipconfiger%2Ftest_rust_build" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ipconfiger/test_rust_build on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ipconfiger/test_rust_build [INFO] finished tweaking git repo https://github.com/ipconfiger/test_rust_build [INFO] tweaked toml for git repo https://github.com/ipconfiger/test_rust_build written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ipconfiger/test_rust_build 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating shuibiao v0.1.0 (/workspace/builds/worker-2-tc2/source) -> v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b28b02d1dc944fe447d62db694d23294807f446de0014238d103c9f511a7294 [INFO] running `Command { std: "docker" "start" "-a" "5b28b02d1dc944fe447d62db694d23294807f446de0014238d103c9f511a7294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b28b02d1dc944fe447d62db694d23294807f446de0014238d103c9f511a7294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b28b02d1dc944fe447d62db694d23294807f446de0014238d103c9f511a7294", kill_on_drop: false }` [INFO] [stdout] 5b28b02d1dc944fe447d62db694d23294807f446de0014238d103c9f511a7294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c40019d9ed2b16014e3c31549bdea8ef7d4a4fd1ff82ec6aac59ac44f67e0dfd [INFO] running `Command { std: "docker" "start" "-a" "c40019d9ed2b16014e3c31549bdea8ef7d4a4fd1ff82ec6aac59ac44f67e0dfd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.20/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c40019d9ed2b16014e3c31549bdea8ef7d4a4fd1ff82ec6aac59ac44f67e0dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40019d9ed2b16014e3c31549bdea8ef7d4a4fd1ff82ec6aac59ac44f67e0dfd", kill_on_drop: false }` [INFO] [stdout] c40019d9ed2b16014e3c31549bdea8ef7d4a4fd1ff82ec6aac59ac44f67e0dfd