[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFluzko%2Fonboarding_slack_bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fluzko/onboarding_slack_bot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_migrations v2.1.0 [INFO] [stderr] Downloaded migrations_internals v2.1.0 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded migrations_macros v2.1.0 [INFO] [stderr] Downloaded diesel_derives v2.1.4 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded winnow v0.6.9 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded diesel v2.1.6 [INFO] [stderr] Downloaded pure-rust-locales v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82ee64101a7a3c133355529181928fc74a4aac959e56cb05aee4ea10871d4484 [INFO] running `Command { std: "docker" "start" "-a" "82ee64101a7a3c133355529181928fc74a4aac959e56cb05aee4ea10871d4484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82ee64101a7a3c133355529181928fc74a4aac959e56cb05aee4ea10871d4484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ee64101a7a3c133355529181928fc74a4aac959e56cb05aee4ea10871d4484", kill_on_drop: false }` [INFO] [stdout] 82ee64101a7a3c133355529181928fc74a4aac959e56cb05aee4ea10871d4484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eda3d06c0638a443f0a310d2c3fd8296bff067e8214738459de16d258381faa [INFO] running `Command { std: "docker" "start" "-a" "5eda3d06c0638a443f0a310d2c3fd8296bff067e8214738459de16d258381faa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.18 [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 uncased v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.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 futures-io v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling winnow v0.6.9 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling pure-rust-locales v0.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.1 [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 async-stream-impl v0.3.5 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [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 toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.117 [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 toml v0.8.13 [INFO] [stderr] Compiling migrations_internals v2.1.0 [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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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] [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 1m 32s [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 3` [INFO] running `Command { std: "docker" "inspect" "5eda3d06c0638a443f0a310d2c3fd8296bff067e8214738459de16d258381faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eda3d06c0638a443f0a310d2c3fd8296bff067e8214738459de16d258381faa", kill_on_drop: false }` [INFO] [stdout] 5eda3d06c0638a443f0a310d2c3fd8296bff067e8214738459de16d258381faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db3ea84edb180a5c2757ae6a877284125e700f3cf681176a127fa6abfb01b321 [INFO] running `Command { std: "docker" "start" "-a" "db3ea84edb180a5c2757ae6a877284125e700f3cf681176a127fa6abfb01b321", 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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 2.31s [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 3` [INFO] running `Command { std: "docker" "inspect" "db3ea84edb180a5c2757ae6a877284125e700f3cf681176a127fa6abfb01b321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3ea84edb180a5c2757ae6a877284125e700f3cf681176a127fa6abfb01b321", kill_on_drop: false }` [INFO] [stdout] db3ea84edb180a5c2757ae6a877284125e700f3cf681176a127fa6abfb01b321