[INFO] cloning repository https://github.com/baltej223/attendance_worker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baltej223/attendance_worker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaltej223%2Fattendance_worker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaltej223%2Fattendance_worker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1a4b8d218016181bcbf0434d8654a3d343fb124 [INFO] testing baltej223/attendance_worker against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaltej223%2Fattendance_worker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/baltej223/attendance_worker [INFO] finished tweaking git repo https://github.com/baltej223/attendance_worker [INFO] tweaked toml for git repo https://github.com/baltej223/attendance_worker written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/baltej223/attendance_worker on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/baltej223/attendance_worker 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1db6fb6f8d4e00790098c45f390af6fae883474558d947213d4ba107be9efdf4 [INFO] running `Command { std: "docker" "start" "-a" "1db6fb6f8d4e00790098c45f390af6fae883474558d947213d4ba107be9efdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1db6fb6f8d4e00790098c45f390af6fae883474558d947213d4ba107be9efdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db6fb6f8d4e00790098c45f390af6fae883474558d947213d4ba107be9efdf4", kill_on_drop: false }` [INFO] [stdout] 1db6fb6f8d4e00790098c45f390af6fae883474558d947213d4ba107be9efdf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6294dede8cf86b390af34c87642711cb68bcac3db380679e82e98e22ba7296b [INFO] running `Command { std: "docker" "start" "-a" "f6294dede8cf86b390af34c87642711cb68bcac3db380679e82e98e22ba7296b", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling zerocopy v0.8.35 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling phf_codegen v0.13.1 [INFO] [stderr] Compiling string_cache_codegen v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling web_atoms v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling string_cache v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling selectors v0.33.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cssparser v0.36.0 [INFO] [stderr] Compiling time v0.3.46 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling markup5ever v0.36.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling resolv-conf v0.7.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling html5ever v0.36.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling scraper v0.25.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling attendance_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::seri::Attendance` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::seri::Attendance; [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 import: `Collection` [INFO] [stdout] --> src/database.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{Client, Collection, Database, bson::doc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/seri.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::System` [INFO] [stdout] --> src/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::System, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let result = attendance.update_one(filter, update, None).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Req(reqwest::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Req(reqwest::Error), [INFO] [stdout] 18 + Req(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | Mongo(mongodb::error::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Mongo(mongodb::error::Error), [INFO] [stdout] 19 + Mongo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ResponseStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub body: String, [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/seri.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `done` are never read [INFO] [stdout] --> src/seri.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AttendanceLink { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub questions: Vec, [INFO] [stdout] 59 | pub done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttendanceLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_time` is never used [INFO] [stdout] --> src/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_time() -> (Duration, SystemTime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "f6294dede8cf86b390af34c87642711cb68bcac3db380679e82e98e22ba7296b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6294dede8cf86b390af34c87642711cb68bcac3db380679e82e98e22ba7296b", kill_on_drop: false }` [INFO] [stdout] f6294dede8cf86b390af34c87642711cb68bcac3db380679e82e98e22ba7296b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09ee7766dd7ca606e543f4e29aee5e278176e16eaa024b72f3ef923e7e93e25e [INFO] running `Command { std: "docker" "start" "-a" "09ee7766dd7ca606e543f4e29aee5e278176e16eaa024b72f3ef923e7e93e25e", kill_on_drop: false }` [INFO] [stderr] Compiling attendance_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::seri::Attendance` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::seri::Attendance; [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 import: `Collection` [INFO] [stdout] --> src/database.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{Client, Collection, Database, bson::doc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/seri.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::System` [INFO] [stdout] --> src/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::System, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let result = attendance.update_one(filter, update, None).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Req(reqwest::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Req(reqwest::Error), [INFO] [stdout] 18 + Req(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | Mongo(mongodb::error::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Mongo(mongodb::error::Error), [INFO] [stdout] 19 + Mongo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ResponseStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub body: String, [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/seri.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `done` are never read [INFO] [stdout] --> src/seri.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AttendanceLink { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub questions: Vec, [INFO] [stdout] 59 | pub done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttendanceLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_time` is never used [INFO] [stdout] --> src/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_time() -> (Duration, SystemTime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "09ee7766dd7ca606e543f4e29aee5e278176e16eaa024b72f3ef923e7e93e25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ee7766dd7ca606e543f4e29aee5e278176e16eaa024b72f3ef923e7e93e25e", kill_on_drop: false }` [INFO] [stdout] 09ee7766dd7ca606e543f4e29aee5e278176e16eaa024b72f3ef923e7e93e25e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e9a1e2ecfea00346bef8bcf6ca41e9bf49261d471fa16b42d76445326054e79 [INFO] running `Command { std: "docker" "start" "-a" "8e9a1e2ecfea00346bef8bcf6ca41e9bf49261d471fa16b42d76445326054e79", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::seri::Attendance` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::seri::Attendance; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Collection` [INFO] [stderr] --> src/database.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::{Client, Collection, Database, bson::doc}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/seri.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::System` [INFO] [stderr] --> src/time.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | alloc::System, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | let result = attendance.update_one(filter, update, None).await?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Req(reqwest::Error), [INFO] [stderr] | --- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - Req(reqwest::Error), [INFO] [stderr] 18 + Req(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | Mongo(mongodb::error::Error), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - Mongo(mongodb::error::Error), [INFO] [stderr] 19 + Mongo(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `url` is never read [INFO] [stderr] --> src/request.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ResponseStruct { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 10 | pub body: String, [INFO] [stderr] 11 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `User` is never constructed [INFO] [stderr] --> src/seri.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `email` and `done` are never read [INFO] [stderr] --> src/seri.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct AttendanceLink { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 57 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 58 | pub questions: Vec, [INFO] [stderr] 59 | pub done: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AttendanceLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_time` is never used [INFO] [stderr] --> src/time.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_time() -> (Duration, SystemTime) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `attendance_bot` (bin "attendance_bot" test) generated 11 warnings (run `cargo fix --bin "attendance_bot" -p attendance_bot --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/attendance_bot-a53dc602e7d6d0cf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e9a1e2ecfea00346bef8bcf6ca41e9bf49261d471fa16b42d76445326054e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9a1e2ecfea00346bef8bcf6ca41e9bf49261d471fa16b42d76445326054e79", kill_on_drop: false }` [INFO] [stdout] 8e9a1e2ecfea00346bef8bcf6ca41e9bf49261d471fa16b42d76445326054e79