[INFO] fetching crate botx-api 0.1.7... [INFO] checking botx-api-0.1.7 against try#19359abcd1be36c9ba1922a244cf9abf02af7a22 for pr-114716 [INFO] extracting crate botx-api 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate botx-api 0.1.7 on toolchain 19359abcd1be36c9ba1922a244cf9abf02af7a22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate botx-api 0.1.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate botx-api 0.1.7 [INFO] tweaked toml for crates.io crate botx-api 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate botx-api 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" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27f7a3b82e9f6b216587eff696c20f5086503a9b2e8e89b24abcac1cb74fa2fa [INFO] running `Command { std: "docker" "start" "-a" "27f7a3b82e9f6b216587eff696c20f5086503a9b2e8e89b24abcac1cb74fa2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f7a3b82e9f6b216587eff696c20f5086503a9b2e8e89b24abcac1cb74fa2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f7a3b82e9f6b216587eff696c20f5086503a9b2e8e89b24abcac1cb74fa2fa", kill_on_drop: false }` [INFO] [stdout] 27f7a3b82e9f6b216587eff696c20f5086503a9b2e8e89b24abcac1cb74fa2fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b08e1fe96d79fc776ce9ed90eeb6e27faadcabe2e4bd6077ad81f98744ef1d14 [INFO] running `Command { std: "docker" "start" "-a" "b08e1fe96d79fc776ce9ed90eeb6e27faadcabe2e4bd6077ad81f98744ef1d14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.173 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.43 [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 regex-automata v0.3.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling easy-ext v1.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [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 hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.17 [INFO] [stderr] Checking botx-api v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/utils/request_manager.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub const JSON_CONTENT_TYPE: &str = "application/json"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/utils/request_manager.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MULTIPART_CONTENT_TYPE: &str = "multipart/form-data"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub const DEFAULT_CTS_URL_ENV: &str = "BOTX_API_CTS_URL"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DEFAULT_BOT_ID_ENV: &str = "BOTX_API_BOT_ID"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | pub const DEFAULT_BOT_SECRET_KEY_ENV: &str = "BOTX_API_BOT_SECRET_KEY"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/utils/request_manager.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub const JSON_CONTENT_TYPE: &str = "application/json"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/utils/request_manager.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MULTIPART_CONTENT_TYPE: &str = "multipart/form-data"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | pub const DEFAULT_CTS_URL_ENV: &str = "BOTX_API_CTS_URL"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DEFAULT_BOT_ID_ENV: &str = "BOTX_API_BOT_ID"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api/context.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | pub const DEFAULT_BOT_SECRET_KEY_ENV: &str = "BOTX_API_BOT_SECRET_KEY"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/api/context.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/api/context.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `botx-api` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `botx-api` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b08e1fe96d79fc776ce9ed90eeb6e27faadcabe2e4bd6077ad81f98744ef1d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08e1fe96d79fc776ce9ed90eeb6e27faadcabe2e4bd6077ad81f98744ef1d14", kill_on_drop: false }` [INFO] [stdout] b08e1fe96d79fc776ce9ed90eeb6e27faadcabe2e4bd6077ad81f98744ef1d14