[INFO] cloning repository https://github.com/topcoder728/Rust-API [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/topcoder728/Rust-API" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopcoder728%2FRust-API", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopcoder728%2FRust-API'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0228265ac3cee33cbe34faaf5cedb1dd2799a92 [INFO] testing topcoder728/Rust-API against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopcoder728%2FRust-API" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/topcoder728/Rust-API [INFO] finished tweaking git repo https://github.com/topcoder728/Rust-API [INFO] tweaked toml for git repo https://github.com/topcoder728/Rust-API written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/topcoder728/Rust-API on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/topcoder728/Rust-API 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 832dcba74462bbcb257a5e22f75d4f47a6dde3706fdc21c97cac67c83f3eb27f [INFO] running `Command { std: "docker" "start" "-a" "832dcba74462bbcb257a5e22f75d4f47a6dde3706fdc21c97cac67c83f3eb27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "832dcba74462bbcb257a5e22f75d4f47a6dde3706fdc21c97cac67c83f3eb27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832dcba74462bbcb257a5e22f75d4f47a6dde3706fdc21c97cac67c83f3eb27f", kill_on_drop: false }` [INFO] [stdout] 832dcba74462bbcb257a5e22f75d4f47a6dde3706fdc21c97cac67c83f3eb27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77909adf8225d4ed3e911717e60dd673916ae216d54161b8ca4a670e465f97e1 [INFO] running `Command { std: "docker" "start" "-a" "77909adf8225d4ed3e911717e60dd673916ae216d54161b8ca4a670e465f97e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling RustyXML v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling orion v0.15.6 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling sm_macro v0.9.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling sm v0.9.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling third-pact v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling rust_decimal v1.16.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling appinsights v0.1.5 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling oauth2 v4.0.0-alpha.3 [INFO] [stderr] Compiling in_app_purchases v0.1.0 (/opt/rustwide/workdir/src/in_app_purchases) [INFO] [stderr] Compiling sendgrid v0.16.0 [INFO] [stderr] Compiling azure_core_mirror v0.2.0 [INFO] [stderr] Compiling azure_storage_mirror v1.0.0 [INFO] [stderr] Compiling azure_cosmos_mirror v0.2.0 [INFO] [stderr] Compiling cosmos-utils v0.3.3 [INFO] [stderr] Compiling primecrime-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/api/new_users_email.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{Duration, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `silent_push::silent_push` [INFO] [stdout] --> src/push/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use silent_push::silent_push; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_custom_pn::send_custom_pn` [INFO] [stdout] --> src/push/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use send_custom_pn::send_custom_pn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_sub` is assigned to, but never used [INFO] [stdout] --> src/api/user_poll.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut has_sub = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sub` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sub` is never read [INFO] [stdout] --> src/api/user_poll.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | has_sub = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_sub` is assigned to, but never used [INFO] [stdout] --> src/api/episode_get.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut has_sub = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sub` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sub` is never read [INFO] [stdout] --> src/api/episode_get.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | has_sub = match sub.end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/signin.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Email(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 14 - Email(String), [INFO] [stdout] 14 + Email(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/signin.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | OpaqueNid(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 - OpaqueNid(String), [INFO] [stdout] 15 + OpaqueNid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Digits` is never constructed [INFO] [stdout] --> src/util.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Digits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "77909adf8225d4ed3e911717e60dd673916ae216d54161b8ca4a670e465f97e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77909adf8225d4ed3e911717e60dd673916ae216d54161b8ca4a670e465f97e1", kill_on_drop: false }` [INFO] [stdout] 77909adf8225d4ed3e911717e60dd673916ae216d54161b8ca4a670e465f97e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b875f3e2633ef753740d6e47e9b5700d2120c11ef843805dcd832b7005ce4d8a [INFO] running `Command { std: "docker" "start" "-a" "b875f3e2633ef753740d6e47e9b5700d2120c11ef843805dcd832b7005ce4d8a", kill_on_drop: false }` [INFO] [stderr] Compiling primecrime-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/api/new_users_email.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{Duration, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `silent_push::silent_push` [INFO] [stdout] --> src/push/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use silent_push::silent_push; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_custom_pn::send_custom_pn` [INFO] [stdout] --> src/push/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use send_custom_pn::send_custom_pn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_sub` is assigned to, but never used [INFO] [stdout] --> src/api/user_poll.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut has_sub = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sub` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sub` is never read [INFO] [stdout] --> src/api/user_poll.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | has_sub = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_sub` is assigned to, but never used [INFO] [stdout] --> src/api/episode_get.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut has_sub = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sub` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sub` is never read [INFO] [stdout] --> src/api/episode_get.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | has_sub = match sub.end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/signin.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Email(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 14 - Email(String), [INFO] [stdout] 14 + Email(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/signin.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | OpaqueNid(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 - OpaqueNid(String), [INFO] [stdout] 15 + OpaqueNid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Digits` is never constructed [INFO] [stdout] --> src/util.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Digits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "b875f3e2633ef753740d6e47e9b5700d2120c11ef843805dcd832b7005ce4d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b875f3e2633ef753740d6e47e9b5700d2120c11ef843805dcd832b7005ce4d8a", kill_on_drop: false }` [INFO] [stdout] b875f3e2633ef753740d6e47e9b5700d2120c11ef843805dcd832b7005ce4d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 048da256cc7a006cdaf908bad48d702c59539fc4b2b805506a28ab11cabd0574 [INFO] running `Command { std: "docker" "start" "-a" "048da256cc7a006cdaf908bad48d702c59539fc4b2b805506a28ab11cabd0574", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/api/new_users_email.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use chrono::{Duration, Timelike, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `silent_push::silent_push` [INFO] [stderr] --> src/push/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub use silent_push::silent_push; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `send_custom_pn::send_custom_pn` [INFO] [stderr] --> src/push/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub use send_custom_pn::send_custom_pn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `has_sub` is assigned to, but never used [INFO] [stderr] --> src/api/user_poll.rs:247:17 [INFO] [stderr] | [INFO] [stderr] 247 | let mut has_sub = false; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_has_sub` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `has_sub` is never read [INFO] [stderr] --> src/api/user_poll.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | has_sub = true; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `has_sub` is assigned to, but never used [INFO] [stderr] --> src/api/episode_get.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | let mut has_sub = false; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_has_sub` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `has_sub` is never read [INFO] [stderr] --> src/api/episode_get.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | has_sub = match sub.end { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/api/signin.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | Email(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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] 14 - Email(String), [INFO] [stderr] 14 + Email(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/api/signin.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | OpaqueNid(String), [INFO] [stderr] | --------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 15 - OpaqueNid(String), [INFO] [stderr] 15 + OpaqueNid(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Digits` is never constructed [INFO] [stderr] --> src/util.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 98 | struct Digits; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `primecrime-api` (bin "primecrime-api" test) generated 10 warnings (run `cargo fix --bin "primecrime-api" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/primecrime_api-acb381723d9a5898) [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" "048da256cc7a006cdaf908bad48d702c59539fc4b2b805506a28ab11cabd0574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048da256cc7a006cdaf908bad48d702c59539fc4b2b805506a28ab11cabd0574", kill_on_drop: false }` [INFO] [stdout] 048da256cc7a006cdaf908bad48d702c59539fc4b2b805506a28ab11cabd0574