[INFO] cloning repository https://github.com/issy/dvla-fetch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/issy/dvla-fetch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fissy%2Fdvla-fetch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fissy%2Fdvla-fetch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ab0c03cf5215e6c33c7a3fa8a1fac3499c57ed5 [INFO] testing issy/dvla-fetch against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fissy%2Fdvla-fetch" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/issy/dvla-fetch [INFO] finished tweaking git repo https://github.com/issy/dvla-fetch [INFO] tweaked toml for git repo https://github.com/issy/dvla-fetch written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/issy/dvla-fetch on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/issy/dvla-fetch 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.99.0-beta.1" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161 [INFO] running `Command { std: "docker" "start" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.143 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling openssl v0.10.52 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.17 [INFO] [stderr] Compiling rust-dvla-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/mot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/ves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/ves.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Response` [INFO] [stdout] --> src/ves.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/ves.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_num` [INFO] [stdout] --> src/mot.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Foo { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 13 | fn new(start: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MOTResponse` is never constructed [INFO] [stdout] --> src/mot.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MOTResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MotClient` is never constructed [INFO] [stdout] --> src/mot.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MotClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `request_builder`, `get_tests_for_vehicle`, `get_tests_on_date`, and `get_vehicles` are never used [INFO] [stdout] --> src/mot.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MotClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(api_key: String) -> MotClient { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn request_builder(&self) -> reqwest::RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | async fn get_tests_for_vehicle(&self, registration: String) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get_tests_on_date(&self, date: NaiveDate, page_num: i16) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VehicleTaxStatus` is never used [INFO] [stdout] --> src/ves.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum VehicleTaxStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleResponse` is never constructed [INFO] [stdout] --> src/ves.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct VehicleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 59.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.52 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling rust-dvla-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/mot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/ves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/ves.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Response` [INFO] [stdout] --> src/ves.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/ves.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_num` [INFO] [stdout] --> src/mot.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Foo { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 13 | fn new(start: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MOTResponse` is never constructed [INFO] [stdout] --> src/mot.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MOTResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MotClient` is never constructed [INFO] [stdout] --> src/mot.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MotClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `request_builder`, `get_tests_for_vehicle`, `get_tests_on_date`, and `get_vehicles` are never used [INFO] [stdout] --> src/mot.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MotClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(api_key: String) -> MotClient { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn request_builder(&self) -> reqwest::RequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | async fn get_tests_for_vehicle(&self, registration: String) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get_tests_on_date(&self, date: NaiveDate, page_num: i16) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VehicleTaxStatus` is never used [INFO] [stdout] --> src/ves.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum VehicleTaxStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleResponse` is never constructed [INFO] [stdout] --> src/ves.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct VehicleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.52 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt::Debug` [INFO] [stderr] --> src/mot.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/ves.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::NaiveDate` [INFO] [stderr] --> src/ves.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::NaiveDate; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::Response` [INFO] [stderr] --> src/ves.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use reqwest::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/ves.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page_num` [INFO] [stderr] --> src/mot.rs:54:38 [INFO] [stderr] | [INFO] [stderr] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Foo` is never constructed [INFO] [stderr] --> src/main.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Foo { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/main.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 12 | impl Foo { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 13 | fn new(start: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyStruct` is never constructed [INFO] [stderr] --> src/main.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct MyStruct { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MOTResponse` is never constructed [INFO] [stderr] --> src/mot.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct MOTResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MotClient` is never constructed [INFO] [stderr] --> src/mot.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MotClient { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `request_builder`, `get_tests_for_vehicle`, `get_tests_on_date`, and `get_vehicles` are never used [INFO] [stderr] --> src/mot.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl MotClient { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(api_key: String) -> MotClient { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn request_builder(&self) -> reqwest::RequestBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | async fn get_tests_for_vehicle(&self, registration: String) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub async fn get_tests_on_date(&self, date: NaiveDate, page_num: i16) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub async fn get_vehicles(&self, page_num: i64) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `VehicleTaxStatus` is never used [INFO] [stderr] --> src/ves.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum VehicleTaxStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VehicleResponse` is never constructed [INFO] [stderr] --> src/ves.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct VehicleResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-dvla-scraper` (bin "rust-dvla-scraper" test) generated 14 warnings (run `cargo fix --bin "rust-dvla-scraper" -p rust-dvla-scraper --tests` to apply 6 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.52 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/rust_dvla_scraper-114a653c72a9dfbb) [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" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161", kill_on_drop: false }` [INFO] [stdout] 50929712f69bd5aae558fcda9e9b27628bee8d6b5845efaa8fa7491948add161