[INFO] cloning repository https://github.com/wilderbit/url-shortening
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wilderbit/url-shortening" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilderbit%2Furl-shortening", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilderbit%2Furl-shortening'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7f94914f1a3a1404aef03b59de8344f82f58586d
[INFO] testing wilderbit/url-shortening against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilderbit%2Furl-shortening" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wilderbit/url-shortening on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wilderbit/url-shortening
[INFO] finished tweaking git repo https://github.com/wilderbit/url-shortening
[INFO] tweaked toml for git repo https://github.com/wilderbit/url-shortening written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/wilderbit/url-shortening already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f1504a2772c1cec71059c47fec904ef36c24019c6b054532adb503aab1d3211
[INFO] running `Command { std: "docker" "start" "-a" "8f1504a2772c1cec71059c47fec904ef36c24019c6b054532adb503aab1d3211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f1504a2772c1cec71059c47fec904ef36c24019c6b054532adb503aab1d3211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f1504a2772c1cec71059c47fec904ef36c24019c6b054532adb503aab1d3211", kill_on_drop: false }`
[INFO] [stdout] 8f1504a2772c1cec71059c47fec904ef36c24019c6b054532adb503aab1d3211
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d90edf22c3a40a1d8023ba6e13fc7211927f1cac9ee391bd28e715ad8418877
[INFO] running `Command { std: "docker" "start" "-a" "5d90edf22c3a40a1d8023ba6e13fc7211927f1cac9ee391bd28e715ad8418877", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling pin-project-lite v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling rustc-demangle v0.1.17
[INFO] [stderr]    Compiling object v0.21.1
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling standback v0.2.11
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling flate2 v1.0.18
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling backtrace v0.3.53
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.6
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.3.0
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling dotenv v0.14.1
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling trust-dns-proto v0.19.5
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.5
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.5
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-http v2.0.0
[INFO] [stderr]    Compiling diesel v1.4.5
[INFO] [stderr]    Compiling awc v2.0.0
[INFO] [stderr]    Compiling actix-web v3.1.0
[INFO] [stderr]    Compiling service v0.1.0 (/opt/rustwide/workdir/service)
[INFO] [stdout] warning: unused import: `get`
[INFO] [stdout]  --> service/src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{get, web, App, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url_shortening_url` is imported redundantly
[INFO] [stdout]   --> service/src/models/url.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::prelude::*;
[INFO] [stdout]    |     ----------------- the item `url_shortening_url` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 10 |     use super::schema::url_shortening_url;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result`, `web`
[INFO] [stdout]  --> service/src/routes/create.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `web`
[INFO] [stdout]  --> service/src/routes/get.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{get, web};
[INFO] [stdout]   |                 ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `base::ApiResponse`
[INFO] [stdout]   --> service/src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use base::ApiResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expiry_time`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> service/src/routes/mod.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn get_url(url: String) -> String {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> service/src/main.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | async fn create(web::Query(info): web::Query<CreateUrl>) -> impl Responder {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_data` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn with_data(mut self, data: serde_json::Value) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn with_error(mut self, error: serde_json::Value) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_success` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn from_success(data: &impl serde::Serialize) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_error(data: &impl serde::Serialize) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn success(data: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn error(error: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> service/src/routes/create.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | /     crate::models::url::create(
[INFO] [stdout] 36 | |         &crate::models::db::connection().unwrap(),
[INFO] [stdout] 37 | |         "12345",
[INFO] [stdout] 38 | |         &create_req.alias,
[INFO] [stdout] 39 | |         &create_req.url,
[INFO] [stdout] 40 | |         &Utc::now(),
[INFO] [stdout] 41 | |     );
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "5d90edf22c3a40a1d8023ba6e13fc7211927f1cac9ee391bd28e715ad8418877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d90edf22c3a40a1d8023ba6e13fc7211927f1cac9ee391bd28e715ad8418877", kill_on_drop: false }`
[INFO] [stdout] 5d90edf22c3a40a1d8023ba6e13fc7211927f1cac9ee391bd28e715ad8418877
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e967b7cab1e37df257da5cd04ff31b0d967610d2b72c93d8970e7d778ae45490
[INFO] running `Command { std: "docker" "start" "-a" "e967b7cab1e37df257da5cd04ff31b0d967610d2b72c93d8970e7d778ae45490", kill_on_drop: false }`
[INFO] [stderr]    Compiling service v0.1.0 (/opt/rustwide/workdir/service)
[INFO] [stdout] warning: unused import: `get`
[INFO] [stdout]  --> service/src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{get, web, App, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url_shortening_url` is imported redundantly
[INFO] [stdout]   --> service/src/models/url.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::prelude::*;
[INFO] [stdout]    |     ----------------- the item `url_shortening_url` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 10 |     use super::schema::url_shortening_url;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result`, `web`
[INFO] [stdout]  --> service/src/routes/create.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stdout]   |                 ^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `web`
[INFO] [stdout]  --> service/src/routes/get.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{get, web};
[INFO] [stdout]   |                 ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `base::ApiResponse`
[INFO] [stdout]   --> service/src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use base::ApiResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expiry_time`
[INFO] [stdout]  --> service/src/routes/mod.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stdout]   |                                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> service/src/routes/mod.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn get_url(url: String) -> String {
[INFO] [stdout]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> service/src/main.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | async fn create(web::Query(info): web::Query<CreateUrl>) -> impl Responder {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_data` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn with_data(mut self, data: serde_json::Value) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn with_error(mut self, error: serde_json::Value) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_success` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn from_success(data: &impl serde::Serialize) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_error(data: &impl serde::Serialize) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn success(data: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `error` is never used
[INFO] [stdout]   --> service/src/base/mod.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn error(error: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> service/src/routes/create.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | /     crate::models::url::create(
[INFO] [stdout] 36 | |         &crate::models::db::connection().unwrap(),
[INFO] [stdout] 37 | |         "12345",
[INFO] [stdout] 38 | |         &create_req.alias,
[INFO] [stdout] 39 | |         &create_req.url,
[INFO] [stdout] 40 | |         &Utc::now(),
[INFO] [stdout] 41 | |     );
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.47s
[INFO] running `Command { std: "docker" "inspect" "e967b7cab1e37df257da5cd04ff31b0d967610d2b72c93d8970e7d778ae45490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e967b7cab1e37df257da5cd04ff31b0d967610d2b72c93d8970e7d778ae45490", kill_on_drop: false }`
[INFO] [stdout] e967b7cab1e37df257da5cd04ff31b0d967610d2b72c93d8970e7d778ae45490
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 71a943c7505ec53e6f9eef5e06d1d1f0f3c378626bc45a3e800cfd68138a9d7d
[INFO] running `Command { std: "docker" "start" "-a" "71a943c7505ec53e6f9eef5e06d1d1f0f3c378626bc45a3e800cfd68138a9d7d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `get`
[INFO] [stderr]  --> service/src/main.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | use actix_web::{get, web, App, HttpServer, Responder};
[INFO] [stderr]   |                 ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the item `url_shortening_url` is imported redundantly
[INFO] [stderr]   --> service/src/models/url.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 1  | use super::prelude::*;
[INFO] [stderr]    |     ----------------- the item `url_shortening_url` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 10 |     use super::schema::url_shortening_url;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Result`, `web`
[INFO] [stderr]  --> service/src/routes/create.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{web, HttpResponse, Result};
[INFO] [stderr]   |                 ^^^                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get`, `web`
[INFO] [stderr]  --> service/src/routes/get.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{get, web};
[INFO] [stderr]   |                 ^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `base::ApiResponse`
[INFO] [stderr]   --> service/src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use base::ApiResponse;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `api_key`
[INFO] [stderr]  --> service/src/routes/mod.rs:4:25
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stderr]   |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `url`
[INFO] [stderr]  --> service/src/routes/mod.rs:4:42
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stderr]   |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expiry_time`
[INFO] [stderr]  --> service/src/routes/mod.rs:4:55
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn create_url(api_key: String, url: String, expiry_time: Option<String>) -> String {
[INFO] [stderr]   |                                                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `url`
[INFO] [stderr]   --> service/src/routes/mod.rs:11:22
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub async fn get_url(url: String) -> String {
[INFO] [stderr]    |                      ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stderr] 
[INFO] [stderr] warning: function `create` is never used
[INFO] [stderr]   --> service/src/main.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 | async fn create(web::Query(info): web::Query<CreateUrl>) -> impl Responder {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `with_data` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 |     fn with_data(mut self, data: serde_json::Value) -> Self {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `with_error` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 |     fn with_error(mut self, error: serde_json::Value) -> Self {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_success` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 |     fn from_success(data: &impl serde::Serialize) -> Self {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_error` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:40:8
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn from_error(data: &impl serde::Serialize) -> Self {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `success` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn success(data: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `error` is never used
[INFO] [stderr]   --> service/src/base/mod.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 |     fn error(error: &impl serde::Serialize) -> actix_web::HttpResponse {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> service/src/routes/create.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | /     crate::models::url::create(
[INFO] [stderr] 36 | |         &crate::models::db::connection().unwrap(),
[INFO] [stderr] 37 | |         "12345",
[INFO] [stderr] 38 | |         &create_req.alias,
[INFO] [stderr] 39 | |         &create_req.url,
[INFO] [stderr] 40 | |         &Utc::now(),
[INFO] [stderr] 41 | |     );
[INFO] [stderr]    | |______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: `service` (bin "service" test) generated 17 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/service-534872ff6210948c)
[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" "71a943c7505ec53e6f9eef5e06d1d1f0f3c378626bc45a3e800cfd68138a9d7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71a943c7505ec53e6f9eef5e06d1d1f0f3c378626bc45a3e800cfd68138a9d7d", kill_on_drop: false }`
[INFO] [stdout] 71a943c7505ec53e6f9eef5e06d1d1f0f3c378626bc45a3e800cfd68138a9d7d
