[INFO] fetching crate unleash-api-client 0.14.0... [INFO] checking unleash-api-client-0.14.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate unleash-api-client 0.14.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate unleash-api-client 0.14.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate unleash-api-client 0.14.0 [INFO] tweaked toml for crates.io crate unleash-api-client 0.14.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unleash-api-client 0.14.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unleash-api-client 0.14.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d4d2e762992a10a3dd6c75683d75671266d74c05691d6b5c951498a535e440 [INFO] running `Command { std: "docker" "start" "-a" "86d4d2e762992a10a3dd6c75683d75671266d74c05691d6b5c951498a535e440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d4d2e762992a10a3dd6c75683d75671266d74c05691d6b5c951498a535e440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d4d2e762992a10a3dd6c75683d75671266d74c05691d6b5c951498a535e440", kill_on_drop: false }` [INFO] [stdout] 86d4d2e762992a10a3dd6c75683d75671266d74c05691d6b5c951498a535e440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c9bc19a4c62928ea8e9b9ca71c58f7d68907e711820ae23835bc64c4d910ed [INFO] running `Command { std: "docker" "start" "-a" "49c9bc19a4c62928ea8e9b9ca71c58f7d68907e711820ae23835bc64c4d910ed", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking murmur3 v0.5.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking semver v1.0.26 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking unleash-api-client v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Cannot run test suite without a client enabled [INFO] [stdout] --> examples/threads.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | compile_error!("Cannot run test suite without a client enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot run test suite without a client enabled [INFO] [stdout] --> tests/clientspec.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | compile_error!("Cannot run test suite without a client enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> tests/clientspec.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | .into_client::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 + use unleash_api_client::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot run test suite without a client enabled [INFO] [stdout] --> src/client.rs:915:13 [INFO] [stdout] | [INFO] [stdout] 915 | compile_error!("Cannot run test suite without a client enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> examples/threads.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | .into_client::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 8 + use unleash_api_client::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rt` in this scope [INFO] [stdout] --> examples/threads.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | rt.block_on(async { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot run test suite without a client enabled [INFO] [stdout] --> benches/is_enabled.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | compile_error!("Cannot run test suite without a client enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rt` in this scope [INFO] [stdout] --> examples/threads.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let inner_rt = rt.clone(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rt` in this scope [INFO] [stdout] --> examples/threads.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | rt.block_on(async { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Cannot run test suite without a client enabled [INFO] [stdout] --> benches/is_enabled.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | compile_error!("Cannot run test suite without a client enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unleash-api-client` (example "threads") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1009:42 [INFO] [stdout] | [INFO] [stdout] 1009 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1052:40 [INFO] [stdout] | [INFO] [stdout] 1052 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1260:42 [INFO] [stdout] | [INFO] [stdout] 1260 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1341:40 [INFO] [stdout] | [INFO] [stdout] 1341 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1421:42 [INFO] [stdout] | [INFO] [stdout] 1421 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpClient` in this scope [INFO] [stdout] --> src/client.rs:1477:40 [INFO] [stdout] | [INFO] [stdout] 1477 | .into_client::("http://127.0.0.1:1234/", "foo", "test", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 893 + use crate::http::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/is_enabled.rs:236:36 [INFO] [stdout] | [INFO] [stdout] 236 | let client = Arc::new(client::(cpus)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 236 | let client = Arc::new(client::(cpus)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unleash-api-client` (test "clientspec") due to 2 previous errors [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/is_enabled.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | let client = client::(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 426 | let client = client::(1); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unleash-api-client` (bench "is_enabled") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unleash-api-client` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "49c9bc19a4c62928ea8e9b9ca71c58f7d68907e711820ae23835bc64c4d910ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c9bc19a4c62928ea8e9b9ca71c58f7d68907e711820ae23835bc64c4d910ed", kill_on_drop: false }` [INFO] [stdout] 49c9bc19a4c62928ea8e9b9ca71c58f7d68907e711820ae23835bc64c4d910ed