[INFO] fetching crate firebae-cm 0.4.2... [INFO] testing firebae-cm-0.4.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate firebae-cm 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate firebae-cm 0.4.2 [INFO] finished tweaking crates.io crate firebae-cm 0.4.2 [INFO] tweaked toml for crates.io crate firebae-cm 0.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate firebae-cm 0.4.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding gcp_auth v0.7.6 (available: v0.12.6) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37735bec28527413c26cf8935aefbb14fc8ea6af44fd869c667c8eeca0c9fc6e [INFO] running `Command { std: "docker" "start" "-a" "37735bec28527413c26cf8935aefbb14fc8ea6af44fd869c667c8eeca0c9fc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37735bec28527413c26cf8935aefbb14fc8ea6af44fd869c667c8eeca0c9fc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37735bec28527413c26cf8935aefbb14fc8ea6af44fd869c667c8eeca0c9fc6e", kill_on_drop: false }` [INFO] [stdout] 37735bec28527413c26cf8935aefbb14fc8ea6af44fd869c667c8eeca0c9fc6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b95f156514b035701343c998dc77640adf94dee5e3088692dc691789dab52364 [INFO] running `Command { std: "docker" "start" "-a" "b95f156514b035701343c998dc77640adf94dee5e3088692dc691789dab52364", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling firebae-derive v0.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling firebae-cm v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/message/message.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(all(feature = "oauth", not(all(loom, test))))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.87s [INFO] running `Command { std: "docker" "inspect" "b95f156514b035701343c998dc77640adf94dee5e3088692dc691789dab52364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95f156514b035701343c998dc77640adf94dee5e3088692dc691789dab52364", kill_on_drop: false }` [INFO] [stdout] b95f156514b035701343c998dc77640adf94dee5e3088692dc691789dab52364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d69e781b199c86413905604a9a899a6acdafc1637dc7f071ac5ee44ecd9f56ac [INFO] running `Command { std: "docker" "start" "-a" "d69e781b199c86413905604a9a899a6acdafc1637dc7f071ac5ee44ecd9f56ac", kill_on_drop: false }` [INFO] [stderr] Compiling firebae-cm v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/message/message.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(all(feature = "oauth", not(all(loom, test))))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/message/message.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(all(feature = "oauth", not(all(loom, test))))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "d69e781b199c86413905604a9a899a6acdafc1637dc7f071ac5ee44ecd9f56ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69e781b199c86413905604a9a899a6acdafc1637dc7f071ac5ee44ecd9f56ac", kill_on_drop: false }` [INFO] [stdout] d69e781b199c86413905604a9a899a6acdafc1637dc7f071ac5ee44ecd9f56ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6fe0a1efe0195781ea7d2e516056bb35934145a0799c8bd32b5680e36e3cf9c4 [INFO] running `Command { std: "docker" "start" "-a" "6fe0a1efe0195781ea7d2e516056bb35934145a0799c8bd32b5680e36e3cf9c4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/message/message.rs:25:38 [INFO] [stderr] | [INFO] [stderr] 25 | #[cfg(all(feature = "oauth", not(all(loom, test))))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `firebae-cm` (lib) generated 1 warning [INFO] [stderr] warning: `firebae-cm` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/firebae_cm-a2b6dce62d12c976) [INFO] [stdout] [INFO] [stderr] Doc-tests firebae_cm [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/client/response.rs - client::response::FcmError (line 2) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_title (line 88) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_body (line 97) ... FAILED [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::topic (line 24) ... FAILED [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::token (line 16) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_image (line 106) ... FAILED [INFO] [stdout] test src/message/body.rs - message::body::MessageBody (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::send (line 29) ... ok [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification (line 64) ... FAILED [INFO] [stdout] test src/utils/map.rs - utils::map::FirebaseMap (line 5) ... FAILED [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::condition (line 32) ... FAILED [INFO] [stdout] test src/utils/map.rs - utils::map::FirebaseMap::insert (line 25) ... FAILED [INFO] [stdout] test src/settings/apns.rs - settings::apns::ApnsConfig::payload (line 52) ... ok [INFO] [stdout] test src/settings/apns.rs - settings::apns::ApnsConfig::headers (line 25) ... ok [INFO] [stdout] test src/settings/webpush.rs - settings::webpush::WebpushConfig::data (line 54) ... ok [INFO] [stdout] test src/message/body.rs - message::body::MessageBody::data (line 71) ... ok [INFO] [stdout] test src/settings/webpush.rs - settings::webpush::WebpushConfig::headers (line 27) ... ok [INFO] [stdout] test src/settings/android.rs - settings::android::AndroidConfig::data (line 66) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/response.rs - client::response::FcmError (line 2) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FcmError` in this scope [INFO] [stdout] --> src/client/response.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | FcmError { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use firebae_cm::Error::FcmError; [INFO] [stdout] | [INFO] [stdout] 2 + use firebae_cm::FcmError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notification/notification.rs - notification::notification::Notification::with_title (line 88) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Notification` in this scope [INFO] [stdout] --> src/notification/notification.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let notification = Notification::new().with_title("Hello!"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 88 + use firebae_cm::Notification; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notification/notification.rs - notification::notification::Notification::with_body (line 97) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Notification` in this scope [INFO] [stdout] --> src/notification/notification.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let notification = Notification::new().with_title("Hello, ").with_body("world!"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 97 + use firebae_cm::Notification; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/receiver.rs - message::receiver::Receiver::topic (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/message/receiver.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let topic = Receiver::topic("abcd"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Receiver` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 24 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 24 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 24 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 24 + use std::sync::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/receiver.rs - message::receiver::Receiver::token (line 16) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/message/receiver.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let token = Receiver::token("abcd"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Receiver` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 16 + use std::sync::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notification/notification.rs - notification::notification::Notification::with_image (line 106) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Notification` in this scope [INFO] [stdout] --> src/notification/notification.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let notification = Notification::new().with_image("/static/img.png"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Notification` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use firebae_cm::Notification; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/body.rs - message::body::MessageBody (line 14) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MesageBody` in this scope [INFO] [stdout] --> src/message/body.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let mut body = MesageBody::new(receiver); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MesageBody` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | let mut body = MessageBody::new(receiver); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notification/notification.rs - notification::notification::Notification (line 64) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Notification` in this scope [INFO] [stdout] --> src/notification/notification.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | let notification = Notification { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 64 + use firebae_cm::Notification; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/notification/notification.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | title: Some("Hello, ").to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:2880:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 66 | title: Some("Hello, ").expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/notification/notification.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | body: Some("world!").to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:2880:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 67 | body: Some("world!").expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/map.rs - utils::map::FirebaseMap (line 5) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `super::Data` [INFO] [stdout] --> src/utils/map.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Data { [INFO] [stdout] | ^^^^ no `Data` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] serde_json::error::Category::Data [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/receiver.rs - message::receiver::Receiver::condition (line 32) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/message/receiver.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let condition = Receiver::condition("abcd"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Receiver` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 32 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 32 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 32 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 32 + use std::sync::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/map.rs - utils::map::FirebaseMap::insert (line 25) stdout ---- [INFO] [stdout] error[E0053]: method `as_map` has an incompatible type for trait [INFO] [stdout] --> src/utils/map.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_map(self) -> FirebaseMap { [INFO] [stdout] | ^^^^ expected `&Data`, found `Data` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Data) -> FirebaseMap` [INFO] [stdout] found signature `fn(Data) -> FirebaseMap` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 34 | fn as_map(&self) -> FirebaseMap { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/map.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | m.insert("a", self.a); [INFO] [stdout] | ------ ^^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/utils/map.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn insert(&mut self, key: impl Into, value: &impl FirebaseMapValue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 36 | m.insert("a", &self.a); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/map.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | m.insert("b", self.b); [INFO] [stdout] | ------ ^^^^^^ expected `&_`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `i32` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/utils/map.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn insert(&mut self, key: impl Into, value: &impl FirebaseMapValue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 37 | m.insert("b", &self.b); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/response.rs - client::response::FcmError (line 2) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/message/body.rs - message::body::MessageBody (line 14) [INFO] [stdout] src/message/receiver.rs - message::receiver::Receiver::condition (line 32) [INFO] [stdout] src/message/receiver.rs - message::receiver::Receiver::token (line 16) [INFO] [stdout] src/message/receiver.rs - message::receiver::Receiver::topic (line 24) [INFO] [stdout] src/notification/notification.rs - notification::notification::Notification (line 64) [INFO] [stdout] src/notification/notification.rs - notification::notification::Notification::with_body (line 97) [INFO] [stdout] src/notification/notification.rs - notification::notification::Notification::with_image (line 106) [INFO] [stdout] src/notification/notification.rs - notification::notification::Notification::with_title (line 88) [INFO] [stdout] src/utils/map.rs - utils::map::FirebaseMap (line 5) [INFO] [stdout] src/utils/map.rs - utils::map::FirebaseMap::insert (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.01s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6fe0a1efe0195781ea7d2e516056bb35934145a0799c8bd32b5680e36e3cf9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe0a1efe0195781ea7d2e516056bb35934145a0799c8bd32b5680e36e3cf9c4", kill_on_drop: false }` [INFO] [stdout] 6fe0a1efe0195781ea7d2e516056bb35934145a0799c8bd32b5680e36e3cf9c4