[INFO] fetching crate horoscope 0.0.1... [INFO] building horoscope-0.0.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate horoscope 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate horoscope 0.0.1 [INFO] finished tweaking crates.io crate horoscope 0.0.1 [INFO] tweaked toml for crates.io crate horoscope 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate horoscope 0.0.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 342 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.5.0) [INFO] [stderr] Adding async-process v1.8.1 (available: v2.5.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding mockito v0.27.0 (available: v1.7.0) [INFO] [stderr] Adding redis v0.17.0 (available: v0.32.6) [INFO] [stderr] Adding sqlx v0.3.5 (available: v0.8.6) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded surf v2.3.2 [INFO] [stderr] Downloaded polyval v0.4.5 [INFO] [stderr] Downloaded cpuid-bool v0.2.0 [INFO] [stderr] Downloaded ctr v0.6.0 [INFO] [stderr] Downloaded ghash v0.3.1 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded crypto-mac v0.10.1 [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded aead v0.3.2 [INFO] [stderr] Downloaded hkdf v0.10.0 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded extend v0.1.2 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded mockito v0.27.0 [INFO] [stderr] Downloaded sqlx-macros v0.3.5 [INFO] [stderr] Downloaded assert-json-diff v1.1.0 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded sqlx v0.3.5 [INFO] [stderr] Downloaded spinning_top v0.2.5 [INFO] [stderr] Downloaded http-client v6.5.3 [INFO] [stderr] Downloaded aes-gcm v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.3.5 [INFO] [stderr] Downloaded curl v0.4.49 [INFO] [stderr] Downloaded redis v0.17.0 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.11+1.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ac16843e56230016fe3a8bf3ccb96723e7add57946106a00895f664817f2dc [INFO] running `Command { std: "docker" "start" "-a" "87ac16843e56230016fe3a8bf3ccb96723e7add57946106a00895f664817f2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ac16843e56230016fe3a8bf3ccb96723e7add57946106a00895f664817f2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ac16843e56230016fe3a8bf3ccb96723e7add57946106a00895f664817f2dc", kill_on_drop: false }` [INFO] [stdout] 87ac16843e56230016fe3a8bf3ccb96723e7add57946106a00895f664817f2dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d5cd311f1db728d26df2d029808de0509390a3c8609639c1c8c1abc9cc4edd [INFO] running `Command { std: "docker" "start" "-a" "14d5cd311f1db728d26df2d029808de0509390a3c8609639c1c8c1abc9cc4edd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling redis v0.17.0 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling horoscope v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (should_run) { [INFO] [stdout] 168 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/scheduler/blocking.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | match (e.execute(&to_execute.job).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - match (e.execute(&to_execute.job).await) { [INFO] [stdout] 169 + match e.execute(&to_execute.job).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (should_run) { [INFO] [stdout] 188 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (&self.attempts < &self.run) { [INFO] [stdout] 15 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (&self.attempts < &self.run) { [INFO] [stdout] 23 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ledger/memory.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/scheduler/mod.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/store/memory.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/retry_trigger.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | Some(Utc::now().timestamp_nanos()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/time_trigger.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `id`, and `time` are never read [INFO] [stdout] --> src/event/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Event [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | time: i64, // when it occured [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/and_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/job_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/or_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/retry_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/trigger/time_trigger.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Time(u32, u32); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Time` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_to_chrono_day` is never used [INFO] [stdout] --> src/trigger/time_trigger.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn day_to_chrono_day(day: &Day) -> Weekday { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/time_trigger.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.17.0, sqlx-macros v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "14d5cd311f1db728d26df2d029808de0509390a3c8609639c1c8c1abc9cc4edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d5cd311f1db728d26df2d029808de0509390a3c8609639c1c8c1abc9cc4edd", kill_on_drop: false }` [INFO] [stdout] 14d5cd311f1db728d26df2d029808de0509390a3c8609639c1c8c1abc9cc4edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac9b71556509cace601fbb175d4e0b53507e67325a4cadc626a52ea7122d4e6e [INFO] running `Command { std: "docker" "start" "-a" "ac9b71556509cace601fbb175d4e0b53507e67325a4cadc626a52ea7122d4e6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (should_run) { [INFO] [stdout] 168 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/scheduler/blocking.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | match (e.execute(&to_execute.job).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - match (e.execute(&to_execute.job).await) { [INFO] [stdout] 169 + match e.execute(&to_execute.job).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (should_run) { [INFO] [stdout] 188 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (&self.attempts < &self.run) { [INFO] [stdout] 15 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (&self.attempts < &self.run) { [INFO] [stdout] 23 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ledger/memory.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/scheduler/mod.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/store/memory.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/retry_trigger.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | Some(Utc::now().timestamp_nanos()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/time_trigger.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `id`, and `time` are never read [INFO] [stdout] --> src/event/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Event [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | time: i64, // when it occured [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/and_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/job_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/or_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/retry_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/trigger/time_trigger.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Time(u32, u32); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Time` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_to_chrono_day` is never used [INFO] [stdout] --> src/trigger/time_trigger.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn day_to_chrono_day(day: &Day) -> Weekday { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/time_trigger.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling mockito v0.27.0 [INFO] [stderr] Compiling horoscope v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (should_run) { [INFO] [stdout] 168 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/scheduler/blocking.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | match (e.execute(&to_execute.job).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - match (e.execute(&to_execute.job).await) { [INFO] [stdout] 169 + match e.execute(&to_execute.job).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler/blocking.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | if (should_run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (should_run) { [INFO] [stdout] 188 + if should_run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (&self.attempts < &self.run) { [INFO] [stdout] 15 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/trigger/retry_trigger.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (&self.attempts < &self.run) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (&self.attempts < &self.run) { [INFO] [stdout] 23 + if &self.attempts < &self.run { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ledger/memory.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/scheduler/mod.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/store/memory.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/retry_trigger.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | Some(Utc::now().timestamp_nanos()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/trigger/time_trigger.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let now = Utc::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `id`, and `time` are never read [INFO] [stdout] --> src/event/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Event [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | time: i64, // when it occured [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/and_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/job_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/or_trigger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/retry_trigger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/trigger/time_trigger.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Time(u32, u32); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Time` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_to_chrono_day` is never used [INFO] [stdout] --> src/trigger/time_trigger.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn day_to_chrono_day(day: &Day) -> Weekday { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trigger` is never constructed [INFO] [stdout] --> src/trigger/time_trigger.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Trigger { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.17.0, sqlx-macros v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ac9b71556509cace601fbb175d4e0b53507e67325a4cadc626a52ea7122d4e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9b71556509cace601fbb175d4e0b53507e67325a4cadc626a52ea7122d4e6e", kill_on_drop: false }` [INFO] [stdout] ac9b71556509cace601fbb175d4e0b53507e67325a4cadc626a52ea7122d4e6e