[INFO] fetching crate approveapi_openapi 0.1.9... [INFO] testing approveapi_openapi-0.1.9 against 1.59.0 for beta-1.60-1 [INFO] extracting crate approveapi_openapi 0.1.9 into /workspace/builds/worker-113/source [INFO] validating manifest of crates.io crate approveapi_openapi 0.1.9 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate approveapi_openapi 0.1.9 [INFO] finished tweaking crates.io crate approveapi_openapi 0.1.9 [INFO] tweaked toml for crates.io crate approveapi_openapi 0.1.9 written to /workspace/builds/worker-113/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab33610a1aa87443fd8206940b587169ae3c7ff2a86275fbc59700c7598f5c8c [INFO] running `Command { std: "docker" "start" "-a" "ab33610a1aa87443fd8206940b587169ae3c7ff2a86275fbc59700c7598f5c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab33610a1aa87443fd8206940b587169ae3c7ff2a86275fbc59700c7598f5c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab33610a1aa87443fd8206940b587169ae3c7ff2a86275fbc59700c7598f5c8c", kill_on_drop: false }` [INFO] [stdout] ab33610a1aa87443fd8206940b587169ae3c7ff2a86275fbc59700c7598f5c8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d1a5fb131ccb271008183530027d00a9059e01e9a8aef92fc9231431b985c96 [INFO] running `Command { std: "docker" "start" "-a" "5d1a5fb131ccb271008183530027d00a9059e01e9a8aef92fc9231431b985c96", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling base64 v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling approveapi_openapi v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/apis/request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::header::AUTHORIZATION` [INFO] [stdout] --> src/apis/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::header::AUTHORIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/apis/configuration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box<::apis::ApproveApi>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/request.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Box> + 'a + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - ) -> Box> + 'a + Send> [INFO] [stdout] 105 + ) -> Box> + 'a + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:34:90 [INFO] [stdout] | [INFO] [stdout] 34 | ...s::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] 34 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] 35 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] 36 + fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:41:90 [INFO] [stdout] | [INFO] [stdout] 41 | ...s::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] 41 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] 48 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] 56 + fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &::apis::ApproveApi{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &dyn (::apis::ApproveApi){ [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApiKey` [INFO] [stdout] --> src/apis/request.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ApiKey(ApiKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oauth` [INFO] [stdout] --> src/apis/request.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Oauth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_header_param` [INFO] [stdout] --> src/apis/request.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_header_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_form_param` [INFO] [stdout] --> src/apis/request.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_form_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `returns_nothing` [INFO] [stdout] --> src/apis/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn returns_nothing(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `configuration` [INFO] [stdout] --> src/apis/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | configuration: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.51s [INFO] running `Command { std: "docker" "inspect" "5d1a5fb131ccb271008183530027d00a9059e01e9a8aef92fc9231431b985c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1a5fb131ccb271008183530027d00a9059e01e9a8aef92fc9231431b985c96", kill_on_drop: false }` [INFO] [stdout] 5d1a5fb131ccb271008183530027d00a9059e01e9a8aef92fc9231431b985c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b49b3b61912ccd775159b98e59a861c566b24b5a6a040b6d3043d722c652ed [INFO] running `Command { std: "docker" "start" "-a" "d3b49b3b61912ccd775159b98e59a861c566b24b5a6a040b6d3043d722c652ed", 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] Compiling scoped-tls v0.1.2 [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/apis/request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::header::AUTHORIZATION` [INFO] [stdout] --> src/apis/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::header::AUTHORIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/apis/configuration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box<::apis::ApproveApi>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/request.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Box> + 'a + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - ) -> Box> + 'a + Send> [INFO] [stdout] 105 + ) -> Box> + 'a + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:34:90 [INFO] [stdout] | [INFO] [stdout] 34 | ...s::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] 34 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] 35 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] 36 + fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:41:90 [INFO] [stdout] | [INFO] [stdout] 41 | ...s::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] 41 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] 48 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] 56 + fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &::apis::ApproveApi{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &dyn (::apis::ApproveApi){ [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApiKey` [INFO] [stdout] --> src/apis/request.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ApiKey(ApiKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oauth` [INFO] [stdout] --> src/apis/request.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Oauth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_header_param` [INFO] [stdout] --> src/apis/request.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_header_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_form_param` [INFO] [stdout] --> src/apis/request.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_form_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `returns_nothing` [INFO] [stdout] --> src/apis/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn returns_nothing(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `configuration` [INFO] [stdout] --> src/apis/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | configuration: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling approveapi_openapi v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/apis/request.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::header::AUTHORIZATION` [INFO] [stdout] --> src/apis/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::header::AUTHORIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/apis/configuration.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box<::apis::ApproveApi>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | approve_api: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/request.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Box> + 'a + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - ) -> Box> + 'a + Send> [INFO] [stdout] 105 + ) -> Box> + 'a + Send> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:34:90 [INFO] [stdout] | [INFO] [stdout] 34 | ...s::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] 34 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] 35 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] 36 + fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:41:90 [INFO] [stdout] | [INFO] [stdout] 41 | ...s::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] 41 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] 48 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/approve_api.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] 56 + fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apis/client.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &::apis::ApproveApi{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn approve_api(&self) -> &dyn (::apis::ApproveApi){ [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApiKey` [INFO] [stdout] --> src/apis/request.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ApiKey(ApiKey), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Oauth` [INFO] [stdout] --> src/apis/request.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Oauth, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_header_param` [INFO] [stdout] --> src/apis/request.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn with_header_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_form_param` [INFO] [stdout] --> src/apis/request.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_form_param(mut self, basename: String, param: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `returns_nothing` [INFO] [stdout] --> src/apis/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn returns_nothing(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `configuration` [INFO] [stdout] --> src/apis/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | configuration: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "d3b49b3b61912ccd775159b98e59a861c566b24b5a6a040b6d3043d722c652ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b49b3b61912ccd775159b98e59a861c566b24b5a6a040b6d3043d722c652ed", kill_on_drop: false }` [INFO] [stdout] d3b49b3b61912ccd775159b98e59a861c566b24b5a6a040b6d3043d722c652ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26bd23cc0c38ffb2b2abf34cd9b6aa8c2d24ba554b1759e2d95fbac527eb0a75 [INFO] running `Command { std: "docker" "start" "-a" "26bd23cc0c38ffb2b2abf34cd9b6aa8c2d24ba554b1759e2d95fbac527eb0a75", 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 import: `std::borrow::Cow` [INFO] [stderr] --> src/apis/request.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyper::header::AUTHORIZATION` [INFO] [stderr] --> src/apis/request.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hyper::header::AUTHORIZATION; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/apis/configuration.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/client.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | approve_api: Box<::apis::ApproveApi>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 | approve_api: Box, [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/request.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | ) -> Box> + 'a + Send> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 105 - ) -> Box> + 'a + Send> [INFO] [stderr] 105 + ) -> Box> + 'a + Send> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:34:90 [INFO] [stderr] | [INFO] [stderr] 34 | ...s::CreatePromptRequest) -> Box> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stderr] 34 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:35:60 [INFO] [stderr] | [INFO] [stderr] 35 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stderr] 35 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:36:50 [INFO] [stderr] | [INFO] [stderr] 36 | fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stderr] 36 + fn get_prompt_status(&self, id: &str) -> Box> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:41:90 [INFO] [stderr] | [INFO] [stderr] 41 | ...s::CreatePromptRequest) -> Box> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stderr] 41 + fn create_prompt(&self, create_prompt_request: ::models::CreatePromptRequest) -> Box> + Send> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:48:60 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stderr] 48 + fn get_prompt(&self, id: &str, long_poll: bool) -> Box> + Send> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/approve_api.rs:56:50 [INFO] [stderr] | [INFO] [stderr] 56 | fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stderr] 56 + fn get_prompt_status(&self, id: &str) -> Box> + Send> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apis/client.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn approve_api(&self) -> &::apis::ApproveApi{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 | pub fn approve_api(&self) -> &dyn (::apis::ApproveApi){ [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ApiKey` [INFO] [stderr] --> src/apis/request.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | ApiKey(ApiKey), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Oauth` [INFO] [stderr] --> src/apis/request.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | Oauth, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_header_param` [INFO] [stderr] --> src/apis/request.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn with_header_param(mut self, basename: String, param: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_form_param` [INFO] [stderr] --> src/apis/request.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn with_form_param(mut self, basename: String, param: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `returns_nothing` [INFO] [stderr] --> src/apis/request.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn returns_nothing(mut self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `configuration` [INFO] [stderr] --> src/apis/client.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | configuration: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `approveapi_openapi` (lib) generated 18 warnings [INFO] [stderr] warning: `approveapi_openapi` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/approveapi_openapi-101d2fd5575bd37e) [INFO] [stdout] [INFO] [stderr] Doc-tests approveapi_openapi [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] [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" "26bd23cc0c38ffb2b2abf34cd9b6aa8c2d24ba554b1759e2d95fbac527eb0a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26bd23cc0c38ffb2b2abf34cd9b6aa8c2d24ba554b1759e2d95fbac527eb0a75", kill_on_drop: false }` [INFO] [stdout] 26bd23cc0c38ffb2b2abf34cd9b6aa8c2d24ba554b1759e2d95fbac527eb0a75