[INFO] fetching crate anki_bridge 0.10.2... [INFO] checking anki_bridge-0.10.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate anki_bridge 0.10.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate anki_bridge 0.10.2 [INFO] finished tweaking crates.io crate anki_bridge 0.10.2 [INFO] tweaked toml for crates.io crate anki_bridge 0.10.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anki_bridge 0.10.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anki_bridge 0.10.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ureq-proto v0.4.2 [INFO] [stderr] Downloaded serde_tuple_macros v1.0.1 [INFO] [stderr] Downloaded serde_tuple v1.1.0 [INFO] [stderr] Downloaded ureq v3.0.12 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4983539387e6ad835967a16a85ef5d643dca0a92689f2e2193843707b20923b [INFO] running `Command { std: "docker" "start" "-a" "e4983539387e6ad835967a16a85ef5d643dca0a92689f2e2193843707b20923b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4983539387e6ad835967a16a85ef5d643dca0a92689f2e2193843707b20923b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4983539387e6ad835967a16a85ef5d643dca0a92689f2e2193843707b20923b", kill_on_drop: false }` [INFO] [stdout] e4983539387e6ad835967a16a85ef5d643dca0a92689f2e2193843707b20923b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f461098dd64559e4e9f9d2eb6245f5fa7808093931ba944e32c85396df8d09 [INFO] running `Command { std: "docker" "start" "-a" "61f461098dd64559e4e9f9d2eb6245f5fa7808093931ba944e32c85396df8d09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_tuple_macros v1.0.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking serde_tuple v1.1.0 [INFO] [stderr] Checking anki_bridge v0.10.2 (/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:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / compile_error!( [INFO] [stdout] 68 | | "Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking'" [INFO] [stdout] 69 | | ); [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:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / compile_error!( [INFO] [stdout] 68 | | "Please include EXACTLY ONE of the following client features: 'reqwest_async', 'reqwest_blocking' or 'ureq_blocking'" [INFO] [stdout] 69 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `AnkiRequestable` is defined multiple times [INFO] [stdout] --> src/lib.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait AnkiRequestable { [INFO] [stdout] | ----------------------------------------------- previous definition of the trait `AnkiRequestable` here [INFO] [stdout] ... [INFO] [stdout] 198 | 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:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | #[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:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | #[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:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | #[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:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | #[maybe_async::async_impl] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `maybe_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `AnkiRequestable` is defined multiple times [INFO] [stdout] --> src/lib.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait AnkiRequestable { [INFO] [stdout] | ----------------------------------------------- previous definition of the trait `AnkiRequestable` here [INFO] [stdout] ... [INFO] [stdout] 198 | 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:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | #[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:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | #[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:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | #[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:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | #[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:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | 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:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | } 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:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | 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:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | } else if let Some(result) = response.result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::card_actions::find_cards::FindCardsRequest` [INFO] [stdout] --> src/mock.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | 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[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/lib.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | 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:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | } 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:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | 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:279:38 [INFO] [stdout] | [INFO] [stdout] 279 | } 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:260:1 [INFO] [stdout] | [INFO] [stdout] 225 | impl AnkiRequestable for AnkiClient<'_> { [INFO] [stdout] | ---------------------------------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 260 | 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:260:1 [INFO] [stdout] | [INFO] [stdout] 225 | impl AnkiRequestable for AnkiClient<'_> { [INFO] [stdout] | ---------------------------------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 260 | 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) due to 14 previous errors [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 test) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "61f461098dd64559e4e9f9d2eb6245f5fa7808093931ba944e32c85396df8d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f461098dd64559e4e9f9d2eb6245f5fa7808093931ba944e32c85396df8d09", kill_on_drop: false }` [INFO] [stdout] 61f461098dd64559e4e9f9d2eb6245f5fa7808093931ba944e32c85396df8d09