[INFO] cloning repository https://github.com/tonylee3737/rust_mobile_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonylee3737/rust_mobile_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_mobile_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_mobile_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 789e08a2be9e943e401db1463c82fdab9fd32113 [INFO] testing tonylee3737/rust_mobile_api against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_mobile_api" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonylee3737/rust_mobile_api on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonylee3737/rust_mobile_api [INFO] finished tweaking git repo https://github.com/tonylee3737/rust_mobile_api [INFO] tweaked toml for git repo https://github.com/tonylee3737/rust_mobile_api written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tonylee3737/rust_mobile_api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd5efc10a515791dc1f6bba810f2a167b17c1cece2d0a61845af90be3a4e2567 [INFO] running `Command { std: "docker" "start" "-a" "fd5efc10a515791dc1f6bba810f2a167b17c1cece2d0a61845af90be3a4e2567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd5efc10a515791dc1f6bba810f2a167b17c1cece2d0a61845af90be3a4e2567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5efc10a515791dc1f6bba810f2a167b17c1cece2d0a61845af90be3a4e2567", kill_on_drop: false }` [INFO] [stdout] fd5efc10a515791dc1f6bba810f2a167b17c1cece2d0a61845af90be3a4e2567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528e6f439b2b6e0035ad110e42ca03c8bcd652ff68086e8aff1e8f9184bc35bd [INFO] running `Command { std: "docker" "start" "-a" "528e6f439b2b6e0035ad110e42ca03c8bcd652ff68086e8aff1e8f9184bc35bd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling sanitize-filename v0.2.1 [INFO] [stderr] Compiling sanitize-filename v0.3.0 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling tera v1.10.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-multipart v0.3.0 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling awmp v0.6.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling mobile_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{error, info, warn, debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::blocking::Response` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use reqwest::blocking::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::parking_entvhl_list::columns::serialnumber` [INFO] [stdout] --> src/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::schema::parking_entvhl_list::columns::serialnumber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/json_function.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/json_function.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/json_function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | let mut img_serialnumber = &info.serialnumber; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | let mut img_pk:i32 = info.pkno; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_vehicle_history` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let updated_vehicle_history = diesel::update(parking_vehicle_history).filter(schema::parking_vehicle_history::columns::vhidx.eq(vhidx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_vehicle_history` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:555:38 [INFO] [stdout] | [INFO] [stdout] 555 | async fn delete_parking_worker_setup(pool:web::Data) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:623:25 [INFO] [stdout] | [INFO] [stdout] 623 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_function.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let result = fs::remove_file(path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 02s [INFO] running `Command { std: "docker" "inspect" "528e6f439b2b6e0035ad110e42ca03c8bcd652ff68086e8aff1e8f9184bc35bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528e6f439b2b6e0035ad110e42ca03c8bcd652ff68086e8aff1e8f9184bc35bd", kill_on_drop: false }` [INFO] [stdout] 528e6f439b2b6e0035ad110e42ca03c8bcd652ff68086e8aff1e8f9184bc35bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18e1e65f163478c9def0035b164c16e732ae5898d61ec5f58a0dcb82036da4be [INFO] running `Command { std: "docker" "start" "-a" "18e1e65f163478c9def0035b164c16e732ae5898d61ec5f58a0dcb82036da4be", kill_on_drop: false }` [INFO] [stderr] Compiling mobile_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{error, info, warn, debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::blocking::Response` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use reqwest::blocking::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::parking_entvhl_list::columns::serialnumber` [INFO] [stdout] --> src/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::schema::parking_entvhl_list::columns::serialnumber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/json_function.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/json_function.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/json_function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | let mut img_serialnumber = &info.serialnumber; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | let mut img_pk:i32 = info.pkno; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_vehicle_history` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let updated_vehicle_history = diesel::update(parking_vehicle_history).filter(schema::parking_vehicle_history::columns::vhidx.eq(vhidx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_vehicle_history` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:555:38 [INFO] [stdout] | [INFO] [stdout] 555 | async fn delete_parking_worker_setup(pool:web::Data) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:623:25 [INFO] [stdout] | [INFO] [stdout] 623 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/json_function.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let result = fs::remove_file(path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.10s [INFO] running `Command { std: "docker" "inspect" "18e1e65f163478c9def0035b164c16e732ae5898d61ec5f58a0dcb82036da4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e1e65f163478c9def0035b164c16e732ae5898d61ec5f58a0dcb82036da4be", kill_on_drop: false }` [INFO] [stdout] 18e1e65f163478c9def0035b164c16e732ae5898d61ec5f58a0dcb82036da4be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2048e6d739d01dc532e08a443177900ac4520c5d0ac600bf677751f5dec9ad58 [INFO] running `Command { std: "docker" "start" "-a" "2048e6d739d01dc532e08a443177900ac4520c5d0ac600bf677751f5dec9ad58", 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] warning: unused imports: `debug`, `error`, `info`, `trace`, `warn` [INFO] [stderr] --> src/main.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use log::{error, info, warn, debug, trace}; [INFO] [stderr] | ^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::blocking::Response` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | use reqwest::blocking::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema::parking_entvhl_list::columns::serialnumber` [INFO] [stderr] --> src/models.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::schema::parking_entvhl_list::columns::serialnumber; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::web::Json` [INFO] [stderr] --> src/json_function.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::web::Json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::Error` [INFO] [stderr] --> src/json_function.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use reqwest::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryFrom` [INFO] [stderr] --> src/json_function.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:591:9 [INFO] [stderr] | [INFO] [stderr] 591 | let mut img_serialnumber = &info.serialnumber; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:592:9 [INFO] [stderr] | [INFO] [stderr] 592 | let mut img_pk:i32 = info.pkno; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_vehicle_history` [INFO] [stderr] --> src/main.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let updated_vehicle_history = diesel::update(parking_vehicle_history).filter(schema::parking_vehicle_history::columns::vhidx.eq(vhidx)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_vehicle_history` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:555:38 [INFO] [stderr] | [INFO] [stderr] 555 | async fn delete_parking_worker_setup(pool:web::Data) -> impl Responder { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:623:25 [INFO] [stderr] | [INFO] [stderr] 623 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/json_function.rs:68:17 [INFO] [stderr] | [INFO] [stderr] 68 | let result = fs::remove_file(path); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: `mobile_api` (bin "mobile_api" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mobile_api-98a8cb4d6f54855d) [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" "2048e6d739d01dc532e08a443177900ac4520c5d0ac600bf677751f5dec9ad58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2048e6d739d01dc532e08a443177900ac4520c5d0ac600bf677751f5dec9ad58", kill_on_drop: false }` [INFO] [stdout] 2048e6d739d01dc532e08a443177900ac4520c5d0ac600bf677751f5dec9ad58