[INFO] updating cached repository https://github.com/rezlindvm/viber-alerts [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 98832b9acb91f29ea41215a7cab0d6e2b457059a [INFO] checking rezlindvm/viber-alerts against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frezlindvm%2Fviber-alerts" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rezlindvm/viber-alerts on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rezlindvm/viber-alerts [INFO] finished tweaking git repo https://github.com/rezlindvm/viber-alerts [INFO] tweaked toml for git repo https://github.com/rezlindvm/viber-alerts written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/rezlindvm/viber-alerts already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20c4998853d294371162ccfe6b176a786b0a12f07624713da8b75e42446608fd [INFO] running `"docker" "start" "-a" "20c4998853d294371162ccfe6b176a786b0a12f07624713da8b75e42446608fd"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking arc-swap v0.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.11 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.15 [INFO] [stderr] Compiling actix-web v0.7.14 [INFO] [stderr] Checking resolv-conf v0.6.1 [INFO] [stderr] Checking r2d2 v0.8.3 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Checking miniz-sys v0.1.11 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking ring v0.13.5 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking signal-hook v0.1.6 [INFO] [stderr] Checking victoria-dom v0.1.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking diesel v1.3.3 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio-openssl v0.2.1 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking cookie v0.11.0 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio-signal v0.2.6 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking hyper v0.12.14 [INFO] [stderr] Checking trust-dns-resolver v0.10.0 [INFO] [stderr] Checking curl v0.4.19 [INFO] [stderr] Checking actix v0.7.6 [INFO] [stderr] Checking oauth2 v2.0.0-alpha.2 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.5 [INFO] [stderr] Checking actix-net v0.2.2 [INFO] [stderr] Checking forecast v2.0.0 [INFO] [stderr] Checking viber_alerts v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `actix::Message` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use actix::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::*` [INFO] [stderr] --> src/api/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/mod.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/mod.rs:123:10 [INFO] [stderr] | [INFO] [stderr] 123 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewUser` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Queryable, Debug, Serialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler/mod.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn daily(&mut self, from: u8, to: u8, f: &mut FnMut() -> bool) -> &Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> bool` [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:191:38 [INFO] [stderr] | [INFO] [stderr] 191 | [derive (Debug, Clone, Copy, QueryId)] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `email` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `viber_id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `broadcast` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/workers/mod.rs:82:46 [INFO] [stderr] | [INFO] [stderr] 82 | .unwrap_or_default();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix::Message` [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use actix::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::*` [INFO] [stderr] --> src/api/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/mod.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/mod.rs:123:10 [INFO] [stderr] | [INFO] [stderr] 123 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewUser` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Queryable, Debug, Serialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler/mod.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn daily(&mut self, from: u8, to: u8, f: &mut FnMut() -> bool) -> &Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> bool` [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:191:38 [INFO] [stderr] | [INFO] [stderr] 191 | [derive (Debug, Clone, Copy, QueryId)] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `email` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `viber_id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `broadcast` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug, Clone, Copy, QueryId, Default)] pub struct $ column_name ; [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/workers/mod.rs:82:46 [INFO] [stderr] | [INFO] [stderr] 82 | .unwrap_or_default();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolon)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/viber/raw.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | .send() [INFO] [stderr] | ^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `std::result::Result` in the current scope [INFO] [stderr] --> src/viber/raw.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | .send() [INFO] [stderr] | ^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stderr] --> src/viber/messages.rs:193:29 [INFO] [stderr] | [INFO] [stderr] 193 | name: Cow::from(from), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 187:5... [INFO] [stderr] --> src/viber/messages.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | / pub fn new(from: &str) -> &mut Self { [INFO] [stderr] 188 | | &mut Sender { [INFO] [stderr] 189 | | id: None, [INFO] [stderr] 190 | | api_version: None, [INFO] [stderr] ... | [INFO] [stderr] 195 | | } [INFO] [stderr] 196 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: ...so that the expression is assignable: [INFO] [stderr] expected &str [INFO] [stderr] found &str [INFO] [stderr] note: but, the lifetime must be valid for the lifetime 'a as defined on the impl at 186:6... [INFO] [stderr] --> src/viber/messages.rs:186:6 [INFO] [stderr] | [INFO] [stderr] 186 | impl<'a> Sender<'a> { [INFO] [stderr] | ^^ [INFO] [stderr] = note: ...so that the expression is assignable: [INFO] [stderr] expected &mut viber::messages::Sender<'a> [INFO] [stderr] found &mut viber::messages::Sender<'_> [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `url` [INFO] [stderr] --> src/viber/messages.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn avatar(&mut self, url: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `url`: `&'a str` [INFO] [stderr] 199 | self.avatar = Cow::from(url); [INFO] [stderr] | ^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `id` [INFO] [stderr] --> src/viber/messages.rs:204:19 [INFO] [stderr] | [INFO] [stderr] 203 | pub fn id(&mut self, id: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `id`: `&'a str` [INFO] [stderr] 204 | self.id = Some(Cow::from(id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `language` [INFO] [stderr] --> src/viber/messages.rs:209:25 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn language(&mut self, language: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `language`: `&'a str` [INFO] [stderr] 209 | self.language = Some(Cow::from(language)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `country` [INFO] [stderr] --> src/viber/messages.rs:214:24 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn country(&mut self, country: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `country`: `&'a str` [INFO] [stderr] 214 | self.country = Some(Cow::from(country)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0495, E0599, E0621. [INFO] [stderr] For more information about an error, try `rustc --explain E0495`. [INFO] [stderr] error: could not compile `viber_alerts`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stderr] --> src/viber/messages.rs:193:29 [INFO] [stderr] | [INFO] [stderr] 193 | name: Cow::from(from), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 187:5... [INFO] [stderr] --> src/viber/messages.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | / pub fn new(from: &str) -> &mut Self { [INFO] [stderr] 188 | | &mut Sender { [INFO] [stderr] 189 | | id: None, [INFO] [stderr] 190 | | api_version: None, [INFO] [stderr] ... | [INFO] [stderr] 195 | | } [INFO] [stderr] 196 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: ...so that the expression is assignable: [INFO] [stderr] expected &str [INFO] [stderr] found &str [INFO] [stderr] note: but, the lifetime must be valid for the lifetime 'a as defined on the impl at 186:6... [INFO] [stderr] --> src/viber/messages.rs:186:6 [INFO] [stderr] | [INFO] [stderr] 186 | impl<'a> Sender<'a> { [INFO] [stderr] | ^^ [INFO] [stderr] = note: ...so that the expression is assignable: [INFO] [stderr] expected &mut viber::messages::Sender<'a> [INFO] [stderr] found &mut viber::messages::Sender<'_> [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `url` [INFO] [stderr] --> src/viber/messages.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn avatar(&mut self, url: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `url`: `&'a str` [INFO] [stderr] 199 | self.avatar = Cow::from(url); [INFO] [stderr] | ^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `id` [INFO] [stderr] --> src/viber/messages.rs:204:19 [INFO] [stderr] | [INFO] [stderr] 203 | pub fn id(&mut self, id: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `id`: `&'a str` [INFO] [stderr] 204 | self.id = Some(Cow::from(id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `language` [INFO] [stderr] --> src/viber/messages.rs:209:25 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn language(&mut self, language: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `language`: `&'a str` [INFO] [stderr] 209 | self.language = Some(Cow::from(language)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error[E0621]: explicit lifetime required in the type of `country` [INFO] [stderr] --> src/viber/messages.rs:214:24 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn country(&mut self, country: &str) -> &mut Self { [INFO] [stderr] | ---- help: add explicit lifetime `'a` to the type of `country`: `&'a str` [INFO] [stderr] 214 | self.country = Some(Cow::from(country)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0495, E0599, E0621. [INFO] [stderr] For more information about an error, try `rustc --explain E0495`. [INFO] [stderr] error: could not compile `viber_alerts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "20c4998853d294371162ccfe6b176a786b0a12f07624713da8b75e42446608fd"` [INFO] running `"docker" "rm" "-f" "20c4998853d294371162ccfe6b176a786b0a12f07624713da8b75e42446608fd"` [INFO] [stdout] 20c4998853d294371162ccfe6b176a786b0a12f07624713da8b75e42446608fd