[INFO] fetching crate anki_bridge 0.9.1... [INFO] checking anki_bridge-0.9.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate anki_bridge 0.9.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate anki_bridge 0.9.1 [INFO] finished tweaking crates.io crate anki_bridge 0.9.1 [INFO] tweaked toml for crates.io crate anki_bridge 0.9.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate anki_bridge 0.9.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anki_bridge 0.9.1 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 931ea93f98a81470c8efbeae25a0f87a2211c5785e99c28db7fd3b39478025a8 [INFO] running `Command { std: "docker" "start" "-a" "931ea93f98a81470c8efbeae25a0f87a2211c5785e99c28db7fd3b39478025a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "931ea93f98a81470c8efbeae25a0f87a2211c5785e99c28db7fd3b39478025a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931ea93f98a81470c8efbeae25a0f87a2211c5785e99c28db7fd3b39478025a8", kill_on_drop: false }` [INFO] [stdout] 931ea93f98a81470c8efbeae25a0f87a2211c5785e99c28db7fd3b39478025a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8130436245917dfc37efe46c8150c5e260c0460934592872c72fe03f6a1d435 [INFO] running `Command { std: "docker" "start" "-a" "c8130436245917dfc37efe46c8150c5e260c0460934592872c72fe03f6a1d435", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_tuple v0.5.0 [INFO] [stderr] Checking anki_bridge v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] error: Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking' [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking' [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `AnkiRequestable` is defined multiple times [INFO] [stdout] --> src/lib.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub trait AnkiRequestable { [INFO] [stdout] | ----------------------------------------------- previous definition of the trait `AnkiRequestable` here [INFO] [stdout] ... [INFO] [stdout] 145 | pub trait AnkiRequestable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnkiRequestable` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `AnkiRequestable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/mock.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/mock.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(error) = response.error { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | } else if let Some(result) = response.result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(error) = response.error { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | } else if let Some(result) = response.result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `AnkiRequestable` is defined multiple times [INFO] [stdout] --> src/lib.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub trait AnkiRequestable { [INFO] [stdout] | ----------------------------------------------- previous definition of the trait `AnkiRequestable` here [INFO] [stdout] ... [INFO] [stdout] 145 | pub trait AnkiRequestable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnkiRequestable` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `AnkiRequestable` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/mock.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/mock.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::card_actions::find_cards::FindCardsRequest` [INFO] [stdout] --> src/mock.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use crate::card_actions::find_cards::FindCardsRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | #[maybe_async::sync_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] --> src/lib.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(error) = response.error { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | } else if let Some(result) = response.result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(error) = response.error { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | } else if let Some(result) = response.result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `AnkiRequestable<_>` for type `MockAnkiClient<_, _>` [INFO] [stdout] --> src/mock.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl AnkiRequestable for MockAnkiClient [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | Request: AnkiRequest + Send + Sync, [INFO] [stdout] 54 | | F: FnOnce(Request) -> Result + Send + Sync + Copy, [INFO] [stdout] | |_________________________________________________________________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 63 | / impl AnkiRequestable for MockAnkiClient [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | Request: AnkiRequest + Send + Sync, [INFO] [stdout] 66 | | F: FnOnce(Request) -> Result + Send + Sync + Copy, [INFO] [stdout] | |_________________________________________________________________________^ conflicting implementation for `MockAnkiClient<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `AnkiRequestable<_>` for type `AnkiClient<'_>` [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl AnkiRequestable for AnkiClient<'_> { [INFO] [stdout] | ---------------------------------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 205 | impl<'a, Request: AnkiRequest + Send + 'a> AnkiRequestable for AnkiClient<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `AnkiClient<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `AnkiRequestable<_>` for type `MockAnkiClient<_, _>` [INFO] [stdout] --> src/mock.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl AnkiRequestable for MockAnkiClient [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | Request: AnkiRequest + Send + Sync, [INFO] [stdout] 54 | | F: FnOnce(Request) -> Result + Send + Sync + Copy, [INFO] [stdout] | |_________________________________________________________________________- first implementation here [INFO] [stdout] ... [INFO] [stdout] 63 | / impl AnkiRequestable for MockAnkiClient [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | Request: AnkiRequest + Send + Sync, [INFO] [stdout] 66 | | F: FnOnce(Request) -> Result + Send + Sync + Copy, [INFO] [stdout] | |_________________________________________________________________________^ conflicting implementation for `MockAnkiClient<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `AnkiRequestable<_>` for type `AnkiClient<'_>` [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl AnkiRequestable for AnkiClient<'_> { [INFO] [stdout] | ---------------------------------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 205 | impl<'a, Request: AnkiRequest + Send + 'a> AnkiRequestable for AnkiClient<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `AnkiClient<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0425, E0428, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anki_bridge` (lib test) due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0119, E0425, E0428, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anki_bridge` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "c8130436245917dfc37efe46c8150c5e260c0460934592872c72fe03f6a1d435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8130436245917dfc37efe46c8150c5e260c0460934592872c72fe03f6a1d435", kill_on_drop: false }` [INFO] [stdout] c8130436245917dfc37efe46c8150c5e260c0460934592872c72fe03f6a1d435