[INFO] fetching crate aionic 0.1.7... [INFO] checking aionic-0.1.7 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate aionic 0.1.7 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate aionic 0.1.7 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aionic 0.1.7 [INFO] finished tweaking crates.io crate aionic 0.1.7 [INFO] tweaked toml for crates.io crate aionic 0.1.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate aionic 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.10 [INFO] [stderr] Downloaded tracing-core v0.1.31 [INFO] [stderr] Downloaded tracing v0.1.37 [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded http v0.2.9 [INFO] [stderr] Downloaded h2 v0.3.20 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded regex-automata v0.3.4 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] [stderr] Downloaded encoding_rs v0.8.32 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded tokio v1.29.1 [INFO] [stderr] Downloaded rustix v0.38.6 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded serde_derive v1.0.181 [INFO] [stderr] Downloaded gimli v0.27.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded reqwest v0.11.18 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded object v0.31.1 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded url v2.4.0 [INFO] [stderr] Downloaded nix v0.26.2 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded rayon v1.7.0 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded time v0.3.25 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded skim v0.10.4 [INFO] [stderr] Downloaded serde v1.0.181 [INFO] [stderr] Downloaded serde_json v1.0.104 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded backtrace v0.3.68 [INFO] [stderr] Downloaded bytes v1.4.0 [INFO] [stderr] Downloaded mio v0.8.8 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded unicase v2.6.0 [INFO] [stderr] Downloaded fastrand v2.0.0 [INFO] [stderr] Downloaded tempfile v3.7.0 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded slab v0.4.8 [INFO] [stderr] Downloaded wasm-streams v0.2.3 [INFO] [stderr] Downloaded bitflags v2.3.3 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.8 [INFO] [stderr] Downloaded crossbeam v0.8.2 [INFO] [stderr] Downloaded defer-drop v1.3.0 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded deranged v0.3.7 [INFO] [stderr] Downloaded time-core v0.1.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] [stderr] Downloaded tuikit v0.5.0 [INFO] [stderr] Downloaded addr2line v0.20.0 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded socket2 v0.4.9 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded timer v0.2.0 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded getrandom v0.2.10 [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded vte v0.11.1 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded tokio-util v0.7.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd373c7356827f86db23bbf55b7ee7c52a2aaba979c9a162f8e9e89e712621da [INFO] running `Command { std: "docker" "start" "-a" "dd373c7356827f86db23bbf55b7ee7c52a2aaba979c9a162f8e9e89e712621da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd373c7356827f86db23bbf55b7ee7c52a2aaba979c9a162f8e9e89e712621da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd373c7356827f86db23bbf55b7ee7c52a2aaba979c9a162f8e9e89e712621da", kill_on_drop: false }` [INFO] [stdout] dd373c7356827f86db23bbf55b7ee7c52a2aaba979c9a162f8e9e89e712621da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc920d500300eb6a97933fc4ceb46990bfb5d2d41dc30ca1fc40cec971ead45f [INFO] running `Command { std: "docker" "start" "-a" "bc920d500300eb6a97933fc4ceb46990bfb5d2d41dc30ca1fc40cec971ead45f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking deranged v0.3.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking defer-drop v1.3.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking time v0.3.25 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Checking tuikit v0.5.0 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking skim v0.10.4 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking aionic v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/openai/audio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/audio.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | pub const ISO_639_1_CODES: &[&'static str] = &[ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 138 | pub const ISO_639_1_CODES: &'static [&'static str] = &[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/chat.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | const DEFAULT_MODEL: &str = "gpt-3.5-turbo"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 305 | const DEFAULT_MODEL: &'static str = "gpt-3.5-turbo"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/image.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | const DEFAULT_SIZE: &str = "1024x1024"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 126 | const DEFAULT_SIZE: &'static str = "1024x1024"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/image.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | const DEFAULT_RESPONSE_FORMAT: &str = "url"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 127 | const DEFAULT_RESPONSE_FORMAT: &'static str = "url"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | const OPENAI_API_MODELS_URL: &str = "https://api.openai.com/v1/models"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 175 | const OPENAI_API_MODELS_URL: &'static str = "https://api.openai.com/v1/models"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | const OPENAI_API_COMPLETIONS_URL: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 490 | const OPENAI_API_COMPLETIONS_URL: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:835:37 [INFO] [stdout] | [INFO] [stdout] 835 | const OPENAI_API_IMAGE_GEN_URL: &str = "https://api.openai.com/v1/images/generations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 835 | const OPENAI_API_IMAGE_GEN_URL: &'static str = "https://api.openai.com/v1/images/generations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:836:38 [INFO] [stdout] | [INFO] [stdout] 836 | const OPENAI_API_IMAGE_EDIT_URL: &str = "https://api.openai.com/v1/images/edits"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 836 | const OPENAI_API_IMAGE_EDIT_URL: &'static str = "https://api.openai.com/v1/images/edits"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:837:43 [INFO] [stdout] | [INFO] [stdout] 837 | const OPENAI_API_IMAGE_VARIATION_URL: &str = "https://api.openai.com/v1/images/variations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 837 | const OPENAI_API_IMAGE_VARIATION_URL: &'static str = "https://api.openai.com/v1/images/variations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1038:38 [INFO] [stdout] | [INFO] [stdout] 1038 | const OPENAI_API_EMBEDDINGS_URL: &str = "https://api.openai.com/v1/embeddings"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1038 | const OPENAI_API_EMBEDDINGS_URL: &'static str = "https://api.openai.com/v1/embeddings"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1122:41 [INFO] [stdout] | [INFO] [stdout] 1122 | const OPENAI_API_TRANSCRIPTION_URL: &str = "https://api.openai.com/v1/audio/transcriptions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1122 | const OPENAI_API_TRANSCRIPTION_URL: &'static str = "https://api.openai.com/v1/audio/transcriptions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1123:39 [INFO] [stdout] | [INFO] [stdout] 1123 | const OPENAI_API_TRANSLATION_URL: &str = "https://api.openai.com/v1/audio/translations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1123 | const OPENAI_API_TRANSLATION_URL: &'static str = "https://api.openai.com/v1/audio/translations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1333:38 [INFO] [stdout] | [INFO] [stdout] 1333 | const OPENAI_API_LIST_FILES_URL: &str = "https://api.openai.com/v1/files"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1333 | const OPENAI_API_LIST_FILES_URL: &'static str = "https://api.openai.com/v1/files"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1486:37 [INFO] [stdout] | [INFO] [stdout] 1486 | const OPENAI_API_FINE_TUNE_URL: &str = "https://api.openai.com/v1/fine-tunes"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1486 | const OPENAI_API_FINE_TUNE_URL: &'static str = "https://api.openai.com/v1/fine-tunes"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1641:39 [INFO] [stdout] | [INFO] [stdout] 1641 | const OPENAI_API_MODERATIONS_URL: &str = "https://api.openai.com/v1/moderations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1641 | const OPENAI_API_MODERATIONS_URL: &'static str = "https://api.openai.com/v1/moderations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/openai/audio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/audio.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | pub const ISO_639_1_CODES: &[&'static str] = &[ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 138 | pub const ISO_639_1_CODES: &'static [&'static str] = &[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/chat.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | const DEFAULT_MODEL: &str = "gpt-3.5-turbo"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 305 | const DEFAULT_MODEL: &'static str = "gpt-3.5-turbo"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/image.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | const DEFAULT_SIZE: &str = "1024x1024"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 126 | const DEFAULT_SIZE: &'static str = "1024x1024"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/image.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | const DEFAULT_RESPONSE_FORMAT: &str = "url"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 127 | const DEFAULT_RESPONSE_FORMAT: &'static str = "url"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | const OPENAI_API_MODELS_URL: &str = "https://api.openai.com/v1/models"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 175 | const OPENAI_API_MODELS_URL: &'static str = "https://api.openai.com/v1/models"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 490 | const OPENAI_API_COMPLETIONS_URL: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 490 | const OPENAI_API_COMPLETIONS_URL: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:835:37 [INFO] [stdout] | [INFO] [stdout] 835 | const OPENAI_API_IMAGE_GEN_URL: &str = "https://api.openai.com/v1/images/generations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 835 | const OPENAI_API_IMAGE_GEN_URL: &'static str = "https://api.openai.com/v1/images/generations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:836:38 [INFO] [stdout] | [INFO] [stdout] 836 | const OPENAI_API_IMAGE_EDIT_URL: &str = "https://api.openai.com/v1/images/edits"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 836 | const OPENAI_API_IMAGE_EDIT_URL: &'static str = "https://api.openai.com/v1/images/edits"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:837:43 [INFO] [stdout] | [INFO] [stdout] 837 | const OPENAI_API_IMAGE_VARIATION_URL: &str = "https://api.openai.com/v1/images/variations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 837 | const OPENAI_API_IMAGE_VARIATION_URL: &'static str = "https://api.openai.com/v1/images/variations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1038:38 [INFO] [stdout] | [INFO] [stdout] 1038 | const OPENAI_API_EMBEDDINGS_URL: &str = "https://api.openai.com/v1/embeddings"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1038 | const OPENAI_API_EMBEDDINGS_URL: &'static str = "https://api.openai.com/v1/embeddings"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1122:41 [INFO] [stdout] | [INFO] [stdout] 1122 | const OPENAI_API_TRANSCRIPTION_URL: &str = "https://api.openai.com/v1/audio/transcriptions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1122 | const OPENAI_API_TRANSCRIPTION_URL: &'static str = "https://api.openai.com/v1/audio/transcriptions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1123:39 [INFO] [stdout] | [INFO] [stdout] 1123 | const OPENAI_API_TRANSLATION_URL: &str = "https://api.openai.com/v1/audio/translations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1123 | const OPENAI_API_TRANSLATION_URL: &'static str = "https://api.openai.com/v1/audio/translations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1333:38 [INFO] [stdout] | [INFO] [stdout] 1333 | const OPENAI_API_LIST_FILES_URL: &str = "https://api.openai.com/v1/files"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1333 | const OPENAI_API_LIST_FILES_URL: &'static str = "https://api.openai.com/v1/files"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1486:37 [INFO] [stdout] | [INFO] [stdout] 1486 | const OPENAI_API_FINE_TUNE_URL: &str = "https://api.openai.com/v1/fine-tunes"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1486 | const OPENAI_API_FINE_TUNE_URL: &'static str = "https://api.openai.com/v1/fine-tunes"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/openai/mod.rs:1641:39 [INFO] [stdout] | [INFO] [stdout] 1641 | const OPENAI_API_MODERATIONS_URL: &str = "https://api.openai.com/v1/moderations"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 1641 | const OPENAI_API_MODERATIONS_URL: &'static str = "https://api.openai.com/v1/moderations"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/openai/misc.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ModelsResponse { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | pub data: Vec, [INFO] [stdout] 23 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/openai/misc.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ModelsResponse { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | pub data: Vec, [INFO] [stdout] 23 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "bc920d500300eb6a97933fc4ceb46990bfb5d2d41dc30ca1fc40cec971ead45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc920d500300eb6a97933fc4ceb46990bfb5d2d41dc30ca1fc40cec971ead45f", kill_on_drop: false }` [INFO] [stdout] bc920d500300eb6a97933fc4ceb46990bfb5d2d41dc30ca1fc40cec971ead45f