[INFO] fetching crate approveapi_openapi 0.1.9... [INFO] testing approveapi_openapi-0.1.9 against 1.60.0 for beta-1.61-1 [INFO] extracting crate approveapi_openapi 0.1.9 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate approveapi_openapi 0.1.9 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9be7777bc166fcc8a2383bc85e7acaa2df4e8de1273e16591fa6fedfc3a148a0 [INFO] running `Command { std: "docker" "start" "-a" "9be7777bc166fcc8a2383bc85e7acaa2df4e8de1273e16591fa6fedfc3a148a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9be7777bc166fcc8a2383bc85e7acaa2df4e8de1273e16591fa6fedfc3a148a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be7777bc166fcc8a2383bc85e7acaa2df4e8de1273e16591fa6fedfc3a148a0", kill_on_drop: false }` [INFO] [stdout] 9be7777bc166fcc8a2383bc85e7acaa2df4e8de1273e16591fa6fedfc3a148a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64b4d00ce486863bd06e94861312fae214400483bf2801484541922589d8268f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64b4d00ce486863bd06e94861312fae214400483bf2801484541922589d8268f", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [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 idna v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling base64 v0.7.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [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 46.59s [INFO] running `Command { std: "docker" "inspect" "64b4d00ce486863bd06e94861312fae214400483bf2801484541922589d8268f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b4d00ce486863bd06e94861312fae214400483bf2801484541922589d8268f", kill_on_drop: false }` [INFO] [stdout] 64b4d00ce486863bd06e94861312fae214400483bf2801484541922589d8268f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbfdf754daa71ebe7a2e33a40d4dd122b0de037f043d8414922a8174d74db738 [INFO] running `Command { std: "docker" "start" "-a" "bbfdf754daa71ebe7a2e33a40d4dd122b0de037f043d8414922a8174d74db738", kill_on_drop: false }` [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 4.23s [INFO] running `Command { std: "docker" "inspect" "bbfdf754daa71ebe7a2e33a40d4dd122b0de037f043d8414922a8174d74db738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfdf754daa71ebe7a2e33a40d4dd122b0de037f043d8414922a8174d74db738", kill_on_drop: false }` [INFO] [stdout] bbfdf754daa71ebe7a2e33a40d4dd122b0de037f043d8414922a8174d74db738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 19e1eb244db52dbf22878d2db31c6d365bb8c50e38100475bcec9441c4d8beab [INFO] running `Command { std: "docker" "start" "-a" "19e1eb244db52dbf22878d2db31c6d365bb8c50e38100475bcec9441c4d8beab", kill_on_drop: false }` [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 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/approveapi_openapi-705db5b442d9bcc3) [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" "19e1eb244db52dbf22878d2db31c6d365bb8c50e38100475bcec9441c4d8beab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e1eb244db52dbf22878d2db31c6d365bb8c50e38100475bcec9441c4d8beab", kill_on_drop: false }` [INFO] [stdout] 19e1eb244db52dbf22878d2db31c6d365bb8c50e38100475bcec9441c4d8beab