[INFO] fetching crate firebae-cm 0.4.2... [INFO] testing firebae-cm-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate firebae-cm 0.4.2 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate firebae-cm 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 193 packages to latest compatible versions [INFO] [stderr] Adding gcp_auth v0.7.6 (available: v0.12.3) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79c23cf2be36a58063a5628901c3004d1705cb1267787e9698623bfee725a421 [INFO] running `Command { std: "docker" "start" "-a" "79c23cf2be36a58063a5628901c3004d1705cb1267787e9698623bfee725a421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79c23cf2be36a58063a5628901c3004d1705cb1267787e9698623bfee725a421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c23cf2be36a58063a5628901c3004d1705cb1267787e9698623bfee725a421", kill_on_drop: false }` [INFO] [stdout] 79c23cf2be36a58063a5628901c3004d1705cb1267787e9698623bfee725a421 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfda06ec19e36c491c81d327e53a384a3d28c450544a6e0375e8b73a93f6b759 [INFO] running `Command { std: "docker" "start" "-a" "bfda06ec19e36c491c81d327e53a384a3d28c450544a6e0375e8b73a93f6b759", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling firebae-derive v0.1.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [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 1m 07s [INFO] running `Command { std: "docker" "inspect" "bfda06ec19e36c491c81d327e53a384a3d28c450544a6e0375e8b73a93f6b759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfda06ec19e36c491c81d327e53a384a3d28c450544a6e0375e8b73a93f6b759", kill_on_drop: false }` [INFO] [stdout] bfda06ec19e36c491c81d327e53a384a3d28c450544a6e0375e8b73a93f6b759 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b71ee1252130cfb896fd4d060b2ae78df7a4f14e9d7d7aa62e4ab5c1d8c36e22 [INFO] running `Command { std: "docker" "start" "-a" "b71ee1252130cfb896fd4d060b2ae78df7a4f14e9d7d7aa62e4ab5c1d8c36e22", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "b71ee1252130cfb896fd4d060b2ae78df7a4f14e9d7d7aa62e4ab5c1d8c36e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71ee1252130cfb896fd4d060b2ae78df7a4f14e9d7d7aa62e4ab5c1d8c36e22", kill_on_drop: false }` [INFO] [stdout] b71ee1252130cfb896fd4d060b2ae78df7a4f14e9d7d7aa62e4ab5c1d8c36e22 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ffcb8a979cae91b7f741e26df09172eec3e96006592ca838495939a589d634d0 [INFO] running `Command { std: "docker" "start" "-a" "ffcb8a979cae91b7f741e26df09172eec3e96006592ca838495939a589d634d0", 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-0fef32902fb9722e) [INFO] [stdout] [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] [stderr] Doc-tests firebae_cm [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::token (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/message/body.rs - message::body::MessageBody (line 14) ... FAILED [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::condition (line 32) ... FAILED [INFO] [stdout] test src/client/response.rs - client::response::FcmError (line 2) ... FAILED [INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::topic (line 24) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_image (line 106) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_body (line 97) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_title (line 88) ... 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/settings/android.rs - settings::android::AndroidConfig::data (line 66) ... 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/apns.rs - settings::apns::ApnsConfig::headers (line 25) ... ok [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/webpush.rs - settings::webpush::WebpushConfig::data (line 54) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/message/receiver.rs - message::receiver::Receiver::token (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Receiver` [INFO] [stdout] --> src/message/receiver.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [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]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] 13 | 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/message/body.rs - message::body::MessageBody (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MesageBody` [INFO] [stdout] --> src/message/body.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 12 | let mut body = MesageBody::new(receiver); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MesageBody` [INFO] [stdout] | help: a struct with a similar name exists: `MessageBody` [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::condition (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Receiver` [INFO] [stdout] --> src/message/receiver.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [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/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/message/receiver.rs - message::receiver::Receiver::topic (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Receiver` [INFO] [stdout] --> src/message/receiver.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use std::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [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]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> src/notification/notification.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> src/notification/notification.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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_title (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notification` [INFO] [stdout] --> src/notification/notification.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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 (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] 3 | let notification = Notification { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/string.rs:2785:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 4 | 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] 5 | 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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/string.rs:2785:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 5 | 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] 8 | 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/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] 12 | 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] 12 | 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] 14 | 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] --> /opt/rustwide/workdir/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] 14 | 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] 15 | 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] --> /opt/rustwide/workdir/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] 15 | 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 3.91s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ffcb8a979cae91b7f741e26df09172eec3e96006592ca838495939a589d634d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffcb8a979cae91b7f741e26df09172eec3e96006592ca838495939a589d634d0", kill_on_drop: false }` [INFO] [stdout] ffcb8a979cae91b7f741e26df09172eec3e96006592ca838495939a589d634d0