[INFO] cloning repository https://github.com/Fluzko/onboarding_slack_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fluzko/onboarding_slack_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluzko%2Fonboarding_slack_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluzko%2Fonboarding_slack_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c88888f991e6f0da94c6ab82f2779b286cafb8b6 [INFO] building Fluzko/onboarding_slack_bot against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluzko%2Fonboarding_slack_bot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fluzko/onboarding_slack_bot [INFO] finished tweaking git repo https://github.com/Fluzko/onboarding_slack_bot [INFO] tweaked toml for git repo https://github.com/Fluzko/onboarding_slack_bot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fluzko/onboarding_slack_bot on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fluzko/onboarding_slack_bot 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a32f4072bbd03f21c5791ffe9428bdc631f7ee841f4eb9e571eba912031716 [INFO] running `Command { std: "docker" "start" "-a" "e3a32f4072bbd03f21c5791ffe9428bdc631f7ee841f4eb9e571eba912031716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a32f4072bbd03f21c5791ffe9428bdc631f7ee841f4eb9e571eba912031716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a32f4072bbd03f21c5791ffe9428bdc631f7ee841f4eb9e571eba912031716", kill_on_drop: false }` [INFO] [stdout] e3a32f4072bbd03f21c5791ffe9428bdc631f7ee841f4eb9e571eba912031716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1df97ff41b9d55b5596882b65acf05834f0a910ac6747c260d0635f4d5fa93 [INFO] running `Command { std: "docker" "start" "-a" "8c1df97ff41b9d55b5596882b65acf05834f0a910ac6747c260d0635f4d5fa93", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling pure-rust-locales v0.8.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling diesel v2.1.6 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling migrations_internals v2.1.0 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling diesel_migrations v2.1.0 [INFO] [stderr] Compiling onboarding_bot_slack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pg_database/db_seeder.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | join_date: NaiveDateTime::from_timestamp_opt(seed_employee.date, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils/start_of_month.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | NaiveDateTime::from_timestamp_opt(ts, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlackCommand` is never used [INFO] [stdout] --> src/slash_command/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum SlackCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projects` is never constructed [INFO] [stdout] --> src/models/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Projects { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Onboardees` is never constructed [INFO] [stdout] --> src/models/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Onboardees { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `api_app_id`, and `response_url` are never read [INFO] [stdout] --> src/slash_command/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ListNewsEmployeesCommand { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 22 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub api_app_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub response_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListNewsEmployeesCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8c1df97ff41b9d55b5596882b65acf05834f0a910ac6747c260d0635f4d5fa93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1df97ff41b9d55b5596882b65acf05834f0a910ac6747c260d0635f4d5fa93", kill_on_drop: false }` [INFO] [stdout] 8c1df97ff41b9d55b5596882b65acf05834f0a910ac6747c260d0635f4d5fa93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e45f0c2f1e4b6237cb8c6ccf8f27dc0d8f77254675127a62820502c156d771 [INFO] running `Command { std: "docker" "start" "-a" "b5e45f0c2f1e4b6237cb8c6ccf8f27dc0d8f77254675127a62820502c156d771", kill_on_drop: false }` [INFO] [stderr] Compiling onboarding_bot_slack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::group_employees_by_month` [INFO] [stdout] --> src/utils/group_employees_by_month.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::group_employees_by_month; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pg_database/db_seeder.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | join_date: NaiveDateTime::from_timestamp_opt(seed_employee.date, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils/start_of_month.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | NaiveDateTime::from_timestamp_opt(ts, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `employees` [INFO] [stdout] --> src/utils/group_employees_by_month.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let employees: Vec<(i64, String)> = vec![ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_employees` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlackCommand` is never used [INFO] [stdout] --> src/slash_command/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum SlackCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `api_app_id`, and `response_url` are never read [INFO] [stdout] --> src/slash_command/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ListNewsEmployeesCommand { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 22 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub api_app_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub response_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListNewsEmployeesCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Projects` is never constructed [INFO] [stdout] --> src/models/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Projects { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Onboardees` is never constructed [INFO] [stdout] --> src/models/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Onboardees { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b5e45f0c2f1e4b6237cb8c6ccf8f27dc0d8f77254675127a62820502c156d771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e45f0c2f1e4b6237cb8c6ccf8f27dc0d8f77254675127a62820502c156d771", kill_on_drop: false }` [INFO] [stdout] b5e45f0c2f1e4b6237cb8c6ccf8f27dc0d8f77254675127a62820502c156d771