[INFO] fetching crate firebae-cm 0.4.2...
[INFO] testing firebae-cm-0.4.2 against 1.73.0 for beta-1.74-1
[INFO] extracting crate firebae-cm 0.4.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate firebae-cm 0.4.2 on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded firebae-derive v0.1.0
[INFO] [stderr]   Downloaded gcp_auth v0.7.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c8c57bb30b1f9f2f265a169865df57cbccbc6c04b68898a4284f620b0528b7f
[INFO] running `Command { std: "docker" "start" "-a" "9c8c57bb30b1f9f2f265a169865df57cbccbc6c04b68898a4284f620b0528b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c8c57bb30b1f9f2f265a169865df57cbccbc6c04b68898a4284f620b0528b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c8c57bb30b1f9f2f265a169865df57cbccbc6c04b68898a4284f620b0528b7f", kill_on_drop: false }`
[INFO] [stdout] 9c8c57bb30b1f9f2f265a169865df57cbccbc6c04b68898a4284f620b0528b7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3af2b1aa1d06ef2078339254ee7094a55decb3dac7204ce574f14b6fa4c2f61e
[INFO] running `Command { std: "docker" "start" "-a" "3af2b1aa1d06ef2078339254ee7094a55decb3dac7204ce574f14b6fa4c2f61e", kill_on_drop: false }`
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling rustls v0.21.7
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling webpki-roots v0.25.2
[INFO] [stderr]    Compiling rustls-pemfile v1.0.3
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling deranged v0.3.8
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling time v0.3.29
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling firebae-derive v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.9
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.6
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling hyper-rustls v0.24.1
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling firebae-cm v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.64s
[INFO] running `Command { std: "docker" "inspect" "3af2b1aa1d06ef2078339254ee7094a55decb3dac7204ce574f14b6fa4c2f61e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3af2b1aa1d06ef2078339254ee7094a55decb3dac7204ce574f14b6fa4c2f61e", kill_on_drop: false }`
[INFO] [stdout] 3af2b1aa1d06ef2078339254ee7094a55decb3dac7204ce574f14b6fa4c2f61e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4de7b28cd0657221ab4463fca008902ce619d6160d4bd383778050726ad7623
[INFO] running `Command { std: "docker" "start" "-a" "a4de7b28cd0657221ab4463fca008902ce619d6160d4bd383778050726ad7623", kill_on_drop: false }`
[INFO] [stderr]    Compiling firebae-cm v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "a4de7b28cd0657221ab4463fca008902ce619d6160d4bd383778050726ad7623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4de7b28cd0657221ab4463fca008902ce619d6160d4bd383778050726ad7623", kill_on_drop: false }`
[INFO] [stdout] a4de7b28cd0657221ab4463fca008902ce619d6160d4bd383778050726ad7623
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dc950634ea3c8c67fb01469712e29aba4dd17ec178d1dd380dce9b8e3795bf07
[INFO] running `Command { std: "docker" "start" "-a" "dc950634ea3c8c67fb01469712e29aba4dd17ec178d1dd380dce9b8e3795bf07", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/firebae_cm-50ef46c5c4fbb72c)
[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] [stderr]    Doc-tests firebae-cm
[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/lib.rs - (line 12) ... 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_body (line 97) ... FAILED
[INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::condition (line 32) ... FAILED
[INFO] [stdout] test src/message/receiver.rs - message::receiver::Receiver::token (line 16) ... FAILED
[INFO] [stdout] test src/message/body.rs - message::body::MessageBody (line 14) ... 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_title (line 88) ... FAILED
[INFO] [stdout] test src/utils/map.rs - utils::map::FirebaseMap (line 5) ... FAILED
[INFO] [stdout] test src/utils/map.rs - utils::map::FirebaseMap::insert (line 25) ... FAILED
[INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification (line 64) ... FAILED
[INFO] [stdout] test src/client/client.rs - client::client::Client::send (line 29) ... ok
[INFO] [stdout] test src/settings/webpush.rs - settings::webpush::WebpushConfig::data (line 54) ... ok
[INFO] [stdout] test src/settings/apns.rs - settings::apns::ApnsConfig::headers (line 25) ... ok
[INFO] [stdout] test src/settings/android.rs - settings::android::AndroidConfig::data (line 66) ... ok
[INFO] [stdout] test src/settings/apns.rs - settings::apns::ApnsConfig::payload (line 52) ... ok
[INFO] [stdout] test src/settings/webpush.rs - settings::webpush::WebpushConfig::headers (line 27) ... ok
[INFO] [stdout] test src/message/body.rs - message::body::MessageBody::data (line 71) ... 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 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/lib.rs - (line 12) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `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/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 core::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use firebae_cm::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::mpsc::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 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 core::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use firebae_cm::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::mpsc::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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]: 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 core::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use firebae_cm::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ops::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::mpsc::Receiver;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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]: 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 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 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 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 (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 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]    |               ^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               expected `&Data`, found `Data`
[INFO] [stdout]    |               help: change the self-receiver type to match the trait: `&self`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&Data) -> FirebaseMap`
[INFO] [stdout]               found signature `fn(Data) -> FirebaseMap`
[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<String>, 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<String>, 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] ---- 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]  --> /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:563:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: doesn't satisfy `Option<&str>: ToString`
[INFO] [stdout]   |
[INFO] [stdout]   = note: doesn't satisfy `Option<&str>: std::fmt::Display`
[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/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/string.rs:2438: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]  --> /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:563:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: doesn't satisfy `Option<&str>: ToString`
[INFO] [stdout]   |
[INFO] [stdout]   = note: doesn't satisfy `Option<&str>: std::fmt::Display`
[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/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/string.rs:2438: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] 
[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.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dc950634ea3c8c67fb01469712e29aba4dd17ec178d1dd380dce9b8e3795bf07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc950634ea3c8c67fb01469712e29aba4dd17ec178d1dd380dce9b8e3795bf07", kill_on_drop: false }`
[INFO] [stdout] dc950634ea3c8c67fb01469712e29aba4dd17ec178d1dd380dce9b8e3795bf07
