[INFO] cloning repository https://github.com/mufeez-amjad/avail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mufeez-amjad/avail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmufeez-amjad%2Favail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmufeez-amjad%2Favail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f391ae484ffe3834f1bfbc330e18e730d27c9991 [INFO] testing mufeez-amjad/avail against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmufeez-amjad%2Favail" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mufeez-amjad/avail [INFO] finished tweaking git repo https://github.com/mufeez-amjad/avail [INFO] tweaked toml for git repo https://github.com/mufeez-amjad/avail written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mufeez-amjad/avail on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mufeez-amjad/avail 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raw-window-handle v0.5.0 [INFO] [stderr] Downloaded enumflags2 v0.6.4 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded nb-connect v1.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.35 [INFO] [stderr] Downloaded concurrent-queue v1.2.4 [INFO] [stderr] Downloaded copypasta v0.8.1 [INFO] [stderr] Downloaded async-trait v0.1.58 [INFO] [stderr] Downloaded memmap2 v0.5.8 [INFO] [stderr] Downloaded dialoguer v0.10.2 [INFO] [stderr] Downloaded indicatif v0.17.1 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded oauth2 v4.2.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.0 [INFO] [stderr] Downloaded rusqlite v0.28.0 [INFO] [stderr] Downloaded serde_json v1.0.87 [INFO] [stderr] Downloaded hkdf v0.11.0 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] [stderr] Downloaded clap v4.0.18 [INFO] [stderr] Downloaded nix v0.24.2 [INFO] [stderr] Downloaded xcb v1.2.0 [INFO] [stderr] Downloaded nix v0.25.0 [INFO] [stderr] Downloaded ndk-sys v0.4.0 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] [stderr] Downloaded zbus v1.9.3 [INFO] [stderr] Downloaded zvariant v2.10.0 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] [stderr] Downloaded url v2.3.0 [INFO] [stderr] Downloaded async-io v1.9.0 [INFO] [stderr] Downloaded keyring v1.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded ctrlc v3.2.3 [INFO] [stderr] Downloaded secret-service v2.0.2 [INFO] [stderr] Downloaded serde_path_to_error v0.1.8 [INFO] [stderr] Downloaded sha2 v0.10.5 [INFO] [stderr] Downloaded hashlink v0.8.1 [INFO] [stderr] Downloaded webbrowser v0.8.0 [INFO] [stderr] Downloaded smithay-clipboard v0.6.6 [INFO] [stderr] Downloaded x11-clipboard v0.6.1 [INFO] [stderr] Downloaded polling v2.3.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.48 [INFO] [stderr] Downloaded serde_repr v0.1.9 [INFO] [stderr] Downloaded zbus_macros v1.9.3 [INFO] [stderr] Downloaded enumflags2_derive v0.6.4 [INFO] [stderr] Downloaded zvariant_derive v2.10.0 [INFO] [stderr] Downloaded rustls-pemfile v0.3.0 [INFO] [stderr] Downloaded thiserror v1.0.35 [INFO] [stderr] Downloaded lock_api v0.4.8 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64dc9d4351b78babfa651f4277750aad445045dbcafef0749193a35f27f072be [INFO] running `Command { std: "docker" "start" "-a" "64dc9d4351b78babfa651f4277750aad445045dbcafef0749193a35f27f072be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64dc9d4351b78babfa651f4277750aad445045dbcafef0749193a35f27f072be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64dc9d4351b78babfa651f4277750aad445045dbcafef0749193a35f27f072be", kill_on_drop: false }` [INFO] [stdout] 64dc9d4351b78babfa651f4277750aad445045dbcafef0749193a35f27f072be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a583dd7610b01c323a00aa97e6bd233b43f5cec12d3f780560c15aaf5e27304f [INFO] running `Command { std: "docker" "start" "-a" "a583dd7610b01c323a00aa97e6bd233b43f5cec12d3f780560c15aaf5e27304f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling xcb v1.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nb-connect v1.2.0 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling console v0.15.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling hkdf v0.11.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.48 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.25.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dialoguer v0.10.2 [INFO] [stderr] Compiling indicatif v0.17.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ctrlc v3.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling zbus_macros v1.9.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap_derive v4.0.18 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling zvariant_derive v2.10.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling clap v4.0.18 [INFO] [stderr] Compiling x11-clipboard v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.8 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling zvariant v2.10.0 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling webbrowser v0.8.0 [INFO] [stderr] Compiling zbus v1.9.3 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling secret-service v2.0.2 [INFO] [stderr] Compiling keyring v1.2.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling oauth2 v4.2.3 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling copypasta v0.8.1 [INFO] [stderr] Compiling avail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/commands.rs:382:44 [INFO] [stdout] | [INFO] [stdout] 382 | let days = selected_slots.group_by(|e| (e.start.date())); [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] 382 - let days = selected_slots.group_by(|e| (e.start.date())); [INFO] [stdout] 382 + let days = selected_slots.group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/datetime/availability.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stdout] 107 + let avail_days = avails.iter().group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/datetime/finder.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stdout] 31 + let days = events.into_iter().group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | for (i, mut cal) in calendars.iter_mut().enumerate() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut selected_calendar = all_calendars.get_mut(selected_calendar_idx).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/events/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub name: Option, [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 `client_id` and `client_secret` are never read [INFO] [stdout] --> src/oauth/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OauthClient { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | pub(crate) inner: BasicClient, [INFO] [stdout] 16 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OauthTokenRetriever` is never used [INFO] [stdout] --> src/oauth/mod.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | trait OauthTokenRetriever { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "a583dd7610b01c323a00aa97e6bd233b43f5cec12d3f780560c15aaf5e27304f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a583dd7610b01c323a00aa97e6bd233b43f5cec12d3f780560c15aaf5e27304f", kill_on_drop: false }` [INFO] [stdout] a583dd7610b01c323a00aa97e6bd233b43f5cec12d3f780560c15aaf5e27304f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c083cda8f9a62a03e801a365797bba55e701652f2ec14d3a99fa938a801f215 [INFO] running `Command { std: "docker" "start" "-a" "0c083cda8f9a62a03e801a365797bba55e701652f2ec14d3a99fa938a801f215", kill_on_drop: false }` [INFO] [stderr] Compiling avail v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/commands.rs:382:44 [INFO] [stdout] | [INFO] [stdout] 382 | let days = selected_slots.group_by(|e| (e.start.date())); [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] 382 - let days = selected_slots.group_by(|e| (e.start.date())); [INFO] [stdout] 382 + let days = selected_slots.group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/datetime/availability.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stdout] 107 + let avail_days = avails.iter().group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/datetime/finder.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stdout] 31 + let days = events.into_iter().group_by(|e| e.start.date() ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | for (i, mut cal) in calendars.iter_mut().enumerate() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut selected_calendar = all_calendars.get_mut(selected_calendar_idx).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/events/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub name: Option, [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 `client_id` and `client_secret` are never read [INFO] [stdout] --> src/oauth/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OauthClient { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 15 | pub(crate) inner: BasicClient, [INFO] [stdout] 16 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OauthTokenRetriever` is never used [INFO] [stdout] --> src/oauth/mod.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | trait OauthTokenRetriever { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "0c083cda8f9a62a03e801a365797bba55e701652f2ec14d3a99fa938a801f215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c083cda8f9a62a03e801a365797bba55e701652f2ec14d3a99fa938a801f215", kill_on_drop: false }` [INFO] [stdout] 0c083cda8f9a62a03e801a365797bba55e701652f2ec14d3a99fa938a801f215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3dbab91d54d839263b6dda66fb59f5739e981bd16566185d3d1e9de4ac817e42 [INFO] running `Command { std: "docker" "start" "-a" "3dbab91d54d839263b6dda66fb59f5739e981bd16566185d3d1e9de4ac817e42", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/commands.rs:382:44 [INFO] [stderr] | [INFO] [stderr] 382 | let days = selected_slots.group_by(|e| (e.start.date())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 382 - let days = selected_slots.group_by(|e| (e.start.date())); [INFO] [stderr] 382 + let days = selected_slots.group_by(|e| e.start.date() ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/datetime/availability.rs:107:49 [INFO] [stderr] | [INFO] [stderr] 107 | let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 107 - let avail_days = avails.iter().group_by(|e| (e.start.date())); [INFO] [stderr] 107 + let avail_days = avails.iter().group_by(|e| e.start.date() ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/datetime/finder.rs:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 31 - let days = events.into_iter().group_by(|e| (e.start.date())); [INFO] [stderr] 31 + let days = events.into_iter().group_by(|e| e.start.date() ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands.rs:173:17 [INFO] [stderr] | [INFO] [stderr] 173 | for (i, mut cal) in calendars.iter_mut().enumerate() { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | let mut selected_calendar = all_calendars.get_mut(selected_calendar_idx).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `name` are never read [INFO] [stderr] --> src/events/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Event { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 21 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 22 | pub name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `client_id` and `client_secret` are never read [INFO] [stderr] --> src/oauth/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct OauthClient { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 15 | pub(crate) inner: BasicClient, [INFO] [stderr] 16 | pub client_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 17 | pub client_secret: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `OauthTokenRetriever` is never used [INFO] [stderr] --> src/oauth/mod.rs:152:7 [INFO] [stderr] | [INFO] [stderr] 152 | trait OauthTokenRetriever { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `avail` (bin "avail" test) generated 8 warnings (run `cargo fix --bin "avail" -p avail --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41, quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/avail-5ecec5593c52419d) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test datetime::availability::tests::test_merge_overlapping_avails ... ok [INFO] [stdout] test datetime::availability::tests::test_overlapping_avail ... ok [INFO] [stdout] test datetime::finder::tests::test_get_availability_start_with_full_day ... ok [INFO] [stdout] test datetime::finder::tests::test_get_availability_rounding ... ok [INFO] [stdout] test datetime::finder::tests::test_get_availability_without_weekends ... ok [INFO] [stdout] test datetime::finder::tests::test_get_availability ... ok [INFO] [stdout] test datetime::finder::tests::test_round_datetime_down ... ok [INFO] [stdout] test datetime::finder::tests::test_round_datetime_up ... ok [INFO] [stdout] test datetime::finder::tests::test_get_availability_no_events ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3dbab91d54d839263b6dda66fb59f5739e981bd16566185d3d1e9de4ac817e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbab91d54d839263b6dda66fb59f5739e981bd16566185d3d1e9de4ac817e42", kill_on_drop: false }` [INFO] [stdout] 3dbab91d54d839263b6dda66fb59f5739e981bd16566185d3d1e9de4ac817e42