[INFO] fetching crate firebae-cm 0.4.2... [INFO] testing firebae-cm-0.4.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate firebae-cm 0.4.2 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate firebae-cm 0.4.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 186 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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded firebae-derive v0.1.0 [INFO] [stderr] Downloaded tokio-rustls v0.23.4 [INFO] [stderr] Downloaded hyper-rustls v0.23.2 [INFO] [stderr] Downloaded gcp_auth v0.7.6 [INFO] [stderr] Downloaded rustls v0.20.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a04d4a81d2213349e83703fb5dd5113b047be75a34074aac8edb80e786d8d56 [INFO] running `Command { std: "docker" "start" "-a" "6a04d4a81d2213349e83703fb5dd5113b047be75a34074aac8edb80e786d8d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a04d4a81d2213349e83703fb5dd5113b047be75a34074aac8edb80e786d8d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a04d4a81d2213349e83703fb5dd5113b047be75a34074aac8edb80e786d8d56", kill_on_drop: false }` [INFO] [stdout] 6a04d4a81d2213349e83703fb5dd5113b047be75a34074aac8edb80e786d8d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75fe068f9ec4590329f04eaf2d73bf51f55e1244cc1e83f031bea57f5065d087 [INFO] running `Command { std: "docker" "start" "-a" "75fe068f9ec4590329f04eaf2d73bf51f55e1244cc1e83f031bea57f5065d087", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling h2 v0.3.27 [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.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling firebae-derive v0.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [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 serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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 29.52s [INFO] running `Command { std: "docker" "inspect" "75fe068f9ec4590329f04eaf2d73bf51f55e1244cc1e83f031bea57f5065d087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fe068f9ec4590329f04eaf2d73bf51f55e1244cc1e83f031bea57f5065d087", kill_on_drop: false }` [INFO] [stdout] 75fe068f9ec4590329f04eaf2d73bf51f55e1244cc1e83f031bea57f5065d087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03f6c2672a0e818b3bed62ef32980d6257822fb1f9cc341a3586fd8d514619b1 [INFO] running `Command { std: "docker" "start" "-a" "03f6c2672a0e818b3bed62ef32980d6257822fb1f9cc341a3586fd8d514619b1", 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.08s [INFO] running `Command { std: "docker" "inspect" "03f6c2672a0e818b3bed62ef32980d6257822fb1f9cc341a3586fd8d514619b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f6c2672a0e818b3bed62ef32980d6257822fb1f9cc341a3586fd8d514619b1", kill_on_drop: false }` [INFO] [stdout] 03f6c2672a0e818b3bed62ef32980d6257822fb1f9cc341a3586fd8d514619b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 426b47a19a0e7f0c7f21b067399372b9b7420495386216ef0e4d3bbe5c7669a0 [INFO] running `Command { std: "docker" "start" "-a" "426b47a19a0e7f0c7f21b067399372b9b7420495386216ef0e4d3bbe5c7669a0", 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.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/firebae_cm-744d1f332473b66d) [INFO] [stderr] Doc-tests firebae_cm [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] [stdout] [INFO] [stdout] running 19 tests [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/notification/notification.rs - notification::notification::Notification::with_title (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... 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/utils/map.rs - utils::map::FirebaseMap (line 5) ... 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_body (line 97) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification (line 64) ... FAILED [INFO] [stdout] test src/notification/notification.rs - notification::notification::Notification::with_image (line 106) ... FAILED [INFO] [stdout] test src/utils/map.rs - utils::map::FirebaseMap::insert (line 25) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::send (line 29) ... ok [INFO] [stdout] test src/message/body.rs - message::body::MessageBody::data (line 71) ... 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::data (line 54) ... 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::headers (line 27) ... ok [INFO] [stdout] test src/settings/android.rs - settings::android::AndroidConfig::data (line 66) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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/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/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/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/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 (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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:2795: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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:2795: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/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/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 2.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "426b47a19a0e7f0c7f21b067399372b9b7420495386216ef0e4d3bbe5c7669a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426b47a19a0e7f0c7f21b067399372b9b7420495386216ef0e4d3bbe5c7669a0", kill_on_drop: false }` [INFO] [stdout] 426b47a19a0e7f0c7f21b067399372b9b7420495386216ef0e4d3bbe5c7669a0