[INFO] cloning repository https://github.com/mdsadiqueinam/Metron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdsadiqueinam/Metron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsadiqueinam%2FMetron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsadiqueinam%2FMetron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 975ce3c2bebd17861d8bb634de091a0d8bd8848e [INFO] testing mdsadiqueinam/Metron against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdsadiqueinam%2FMetron" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mdsadiqueinam/Metron [INFO] finished tweaking git repo https://github.com/mdsadiqueinam/Metron [INFO] tweaked toml for git repo https://github.com/mdsadiqueinam/Metron written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mdsadiqueinam/Metron on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mdsadiqueinam/Metron already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded tempfile v3.18.0 [INFO] [stderr] Downloaded rate_limit v0.1.1 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded geoip2-codegen v0.1.5 [INFO] [stderr] Downloaded user-agent-parser v0.3.6 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded clickhouse-rs-cityhash-sys v0.1.2 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded onig v6.4.0 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded clickhouse-rs v1.1.0-alpha.1 [INFO] [stderr] Downloaded config v0.15.9 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded geoip2 v0.1.7 [INFO] [stderr] Downloaded yaml-rust2 v0.10.0 [INFO] [stderr] Downloaded maxminddb v0.23.0 [INFO] [stderr] Downloaded rustix v1.0.1 [INFO] [stderr] Downloaded onig_sys v69.8.1 [INFO] [stderr] Downloaded tokio v1.44.0 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb3dfb84bf6503ea56a5e75280030856f9eb03176866c4515f3d82a72819684a [INFO] running `Command { std: "docker" "start" "-a" "cb3dfb84bf6503ea56a5e75280030856f9eb03176866c4515f3d82a72819684a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb3dfb84bf6503ea56a5e75280030856f9eb03176866c4515f3d82a72819684a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3dfb84bf6503ea56a5e75280030856f9eb03176866c4515f3d82a72819684a", kill_on_drop: false }` [INFO] [stdout] cb3dfb84bf6503ea56a5e75280030856f9eb03176866c4515f3d82a72819684a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6f72abd7a50cd5c5eeb75cabd4b73b9bd9a65fec970363fe905becd8b03b34d [INFO] running `Command { std: "docker" "start" "-a" "a6f72abd7a50cd5c5eeb75cabd4b73b9bd9a65fec970363fe905becd8b03b34d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling yaml-rust2 v0.10.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling rate_limit v0.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling clickhouse-rs-cityhash-sys v0.1.2 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling user-agent-parser v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling geoip2-codegen v0.1.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling geoip2 v0.1.7 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling maxminddb v0.23.0 [INFO] [stderr] Compiling config v0.15.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clickhouse-rs v1.1.0-alpha.1 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling analytics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | .mount("/", routes![handlers::event_handler::handle_event]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use rocket::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/services/session_service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/config/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Pool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/services/event_service.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | let pool = Pool::new(config.database_url.clone()) [INFO] [stdout] | ____________________- [INFO] [stdout] 46 | | .map_err(|e| EventServiceError::DatabaseError(e.to_string()))?; [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Pool` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clickhouse-rs-1.1.0-alpha.1/src/pool/mod.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: TryFutureExt` or `Pool: TryFuture` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Pool: TryFuture` [INFO] [stdout] which is required by `Pool: TryFutureExt` [INFO] [stdout] `&Pool: TryFuture` [INFO] [stdout] which is required by `&Pool: TryFutureExt` [INFO] [stdout] `&mut Pool: TryFuture` [INFO] [stdout] which is required by `&mut Pool: TryFutureExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/event_service.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | let ua_parser = UserAgentParser::new(&config.ua_regexes_path) [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `UserAgentParser`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(self) -> Painted where Self: Sized { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Painted`, but its trait bounds were not satisfied [INFO] [stdout] --> src/services/event_service.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 53 | let ua_parser = UserAgentParser::new(&config.ua_regexes_path) [INFO] [stdout] | _________________________- [INFO] [stdout] 54 | | .map_err(|e| EventServiceError::UserAgentError(e.to_string()))?; [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Painted` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Painted { [INFO] [stdout] | --------------------- doesn't satisfy `Painted: TryFutureExt` or `Painted: TryFuture` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Painted: TryFuture` [INFO] [stdout] which is required by `Painted: TryFutureExt` [INFO] [stdout] `&Painted: TryFuture` [INFO] [stdout] which is required by `&Painted: TryFutureExt` [INFO] [stdout] `&mut Painted: TryFuture` [INFO] [stdout] which is required by `&mut Painted: TryFutureExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_event` found for reference `&EventService` in the current scope [INFO] [stdout] --> src/services/event_service.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | self.validate_event(&event)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&EventService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_service.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | for event in events { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/config/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cfg = config::Config::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | --------------------------------------- private associated function defined here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/config/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cfg = config::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `config::Value` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let mut cfg = config::Config::new(/* config::Value */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_default` exists for struct `config::Config`, but its trait bounds were not satisfied [INFO] [stdout] --> src/config/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | cfg.set_default("max_buffer_size", 10000)?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `config::Config` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ----------------- doesn't satisfy `_: Into` or `config::Config: SubscriberInitExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `config::Config: Into` [INFO] [stdout] which is required by `config::Config: SubscriberInitExt` [INFO] [stdout] `&config::Config: Into` [INFO] [stdout] which is required by `&config::Config: SubscriberInitExt` [INFO] [stdout] `&mut config::Config: Into` [INFO] [stdout] which is required by `&mut config::Config: SubscriberInitExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_default` exists for struct `config::Config`, but its trait bounds were not satisfied [INFO] [stdout] --> src/config/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | cfg.set_default("flush_interval_seconds", 10)?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `config::Config` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ----------------- doesn't satisfy `_: Into` or `config::Config: SubscriberInitExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `config::Config: Into` [INFO] [stdout] which is required by `config::Config: SubscriberInitExt` [INFO] [stdout] `&config::Config: Into` [INFO] [stdout] which is required by `&config::Config: SubscriberInitExt` [INFO] [stdout] `&mut config::Config: Into` [INFO] [stdout] which is required by `&mut config::Config: SubscriberInitExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_default` exists for struct `config::Config`, but its trait bounds were not satisfied [INFO] [stdout] --> src/config/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | cfg.set_default("rate_limit_per_minute", 60)?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `config::Config` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ----------------- doesn't satisfy `_: Into` or `config::Config: SubscriberInitExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `config::Config: Into` [INFO] [stdout] which is required by `config::Config: SubscriberInitExt` [INFO] [stdout] `&config::Config: Into` [INFO] [stdout] which is required by `&config::Config: SubscriberInitExt` [INFO] [stdout] `&mut config::Config: Into` [INFO] [stdout] which is required by `&mut config::Config: SubscriberInitExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_default` exists for struct `config::Config`, but its trait bounds were not satisfied [INFO] [stdout] --> src/config/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | cfg.set_default("ua_regexes_path", "config/regexes.yaml")?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `config::Config` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/config.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ----------------- doesn't satisfy `_: Into` or `config::Config: SubscriberInitExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `config::Config: Into` [INFO] [stdout] which is required by `config::Config: SubscriberInitExt` [INFO] [stdout] `&config::Config: Into` [INFO] [stdout] which is required by `&config::Config: SubscriberInitExt` [INFO] [stdout] `&mut config::Config: Into` [INFO] [stdout] which is required by `&mut config::Config: SubscriberInitExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `config::Config` in the current scope [INFO] [stdout] --> src/config/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | cfg.merge(config::Environment::new())?; [INFO] [stdout] | ^^^^^ method not found in `config::Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Environment` in the current scope [INFO] [stdout] --> src/config/mod.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | cfg.merge(config::Environment::new())?; [INFO] [stdout] | ^^^ function or associated item not found in `Environment` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Environment` consider using one of the following associated functions: [INFO] [stdout] Environment::with_prefix [INFO] [stdout] Environment::with_convert_case [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.9/src/env.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn with_prefix(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_convert_case(tt: Case) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `>::Error == ConfigError` [INFO] [stdout] --> src/config/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | cfg.try_into() [INFO] [stdout] | ^^^^^^^^ expected `ConfigError`, found `Infallible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: TryFrom` is not satisfied [INFO] [stdout] --> src/config/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | cfg.try_into() [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `config::Config` [INFO] [stdout] | [INFO] [stdout] = note: required for `config::Config` to implement `Into` [INFO] [stdout] = note: required for `config::Config` to implement `TryFrom` [INFO] [stdout] = note: required for `config::Config` to implement `TryInto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_service.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | fn drop_datacenter_ip(&self, event: &Event) -> Result<(), EventServiceError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_service.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn drop_shield_rule_hostname(&self, event: &Event) -> Result<(), EventServiceError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `n` [INFO] [stdout] --> src/services/event_service.rs:156:90 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(city_name) = city.city.and_then(|c| c.names.and_then(|n| n.get("en"))) { [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `n` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `url` [INFO] [stdout] --> src/services/event_service.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | .and_then(|url| url.host_str()) [INFO] [stdout] | ---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `url` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0271, E0277, E0308, E0515, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `analytics` (bin "analytics") due to 17 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6f72abd7a50cd5c5eeb75cabd4b73b9bd9a65fec970363fe905becd8b03b34d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f72abd7a50cd5c5eeb75cabd4b73b9bd9a65fec970363fe905becd8b03b34d", kill_on_drop: false }` [INFO] [stdout] a6f72abd7a50cd5c5eeb75cabd4b73b9bd9a65fec970363fe905becd8b03b34d