[INFO] cloning repository https://github.com/misternerd/cdn77-api-cli-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misternerd/cdn77-api-cli-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisternerd%2Fcdn77-api-cli-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisternerd%2Fcdn77-api-cli-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d120b01e22f20a1c7a65bee3e42f6e0bfb80a8fd [INFO] checking misternerd/cdn77-api-cli-client against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisternerd%2Fcdn77-api-cli-client" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/misternerd/cdn77-api-cli-client [INFO] finished tweaking git repo https://github.com/misternerd/cdn77-api-cli-client [INFO] tweaked toml for git repo https://github.com/misternerd/cdn77-api-cli-client written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/misternerd/cdn77-api-cli-client on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/misternerd/cdn77-api-cli-client 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c76ec5c701b19a6758c47a643dfab4a4cc6bb6b02b56e865d98456a2c859ebd4 [INFO] running `Command { std: "docker" "start" "-a" "c76ec5c701b19a6758c47a643dfab4a4cc6bb6b02b56e865d98456a2c859ebd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c76ec5c701b19a6758c47a643dfab4a4cc6bb6b02b56e865d98456a2c859ebd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76ec5c701b19a6758c47a643dfab4a4cc6bb6b02b56e865d98456a2c859ebd4", kill_on_drop: false }` [INFO] [stdout] c76ec5c701b19a6758c47a643dfab4a4cc6bb6b02b56e865d98456a2c859ebd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7956611ff84d9096d334059035823ddb78bdd8720bc73473c66220bbc1bcbcf9 [INFO] running `Command { std: "docker" "start" "-a" "7956611ff84d9096d334059035823ddb78bdd8720bc73473c66220bbc1bcbcf9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling openssl-src v111.20.0+1.1.1o [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking cdn77-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `StatsByDataCenterRequest` is never constructed [INFO] [stdout] --> src/commands_statistics.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | struct StatsByDataCenterRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | / #[clap(short = 'a', long)] [INFO] [stdout] 42 | | /// Either provide the token (dangerous!) or create an environment variable `CDN77_API_TOKEN` (preferred) [INFO] [stdout] 43 | | api_token: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | / #[clap(short = 'i', long)] [INFO] [stdout] 96 | | /// The ID of the resource which you'd like to purge files from [INFO] [stdout] 97 | | job_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | / #[clap(short = 'p', long)] [INFO] [stdout] 105 | | /// A comma separated list of paths to prefetch [INFO] [stdout] 106 | | paths: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | / #[clap(short = 'u', long)] [INFO] [stdout] 108 | | /// Use when host header forwarding is active on your CDN Resource [INFO] [stdout] 109 | | upstream_host: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | / #[clap(short = 'p', long)] [INFO] [stdout] 117 | | /// A comma seperated list of paths you'd like to clear. [INFO] [stdout] 118 | | /// Can contain wildcards (*) [INFO] [stdout] 119 | | paths: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | / #[clap(short = 'f', long)] [INFO] [stdout] 149 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 150 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | / #[clap(short = 'e', long)] [INFO] [stdout] 152 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 153 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | / #[clap(short = 'i', long)] [INFO] [stdout] 155 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 156 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | / #[clap(short = 'l', long)] [INFO] [stdout] 158 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 159 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / #[clap(short = 'a', long)] [INFO] [stdout] 161 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 162 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | / #[clap(short = 'f', long)] [INFO] [stdout] 167 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 168 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | / #[clap(short = 'e', long)] [INFO] [stdout] 170 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 171 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | / #[clap(short = 'i', long)] [INFO] [stdout] 173 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 174 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | / #[clap(short = 'l', long)] [INFO] [stdout] 176 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 177 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | / #[clap(short = 'f', long)] [INFO] [stdout] 185 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 186 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | / #[clap(short = 'e', long)] [INFO] [stdout] 188 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 189 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | / #[clap(short = 'i', long)] [INFO] [stdout] 191 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 192 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | / #[clap(short = 'l', long)] [INFO] [stdout] 194 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 195 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | / #[clap(short = 'a', long)] [INFO] [stdout] 197 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 198 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:202:3 [INFO] [stdout] | [INFO] [stdout] 202 | / #[clap(short = 't', long)] [INFO] [stdout] 203 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 204 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:205:3 [INFO] [stdout] | [INFO] [stdout] 205 | / #[clap(short = 'f', long)] [INFO] [stdout] 206 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 207 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 208 | / #[clap(short = 'e', long)] [INFO] [stdout] 209 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 210 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | / #[clap(short = 'i', long)] [INFO] [stdout] 212 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 213 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / #[clap(short = 'l', long)] [INFO] [stdout] 215 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 216 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | / #[clap(short = 'f', long)] [INFO] [stdout] 224 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 225 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | / #[clap(short = 'e', long)] [INFO] [stdout] 227 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 228 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | / #[clap(short = 'i', long)] [INFO] [stdout] 230 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 231 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | / #[clap(short = 'l', long)] [INFO] [stdout] 233 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 234 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | / #[clap(short = 'a', long)] [INFO] [stdout] 236 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 237 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | / #[clap(short = 't', long)] [INFO] [stdout] 242 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 243 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / #[clap(short = 'f', long)] [INFO] [stdout] 245 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 246 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | / #[clap(short = 'e', long)] [INFO] [stdout] 248 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 249 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:250:3 [INFO] [stdout] | [INFO] [stdout] 250 | / #[clap(short = 'i', long)] [INFO] [stdout] 251 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 252 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | / #[clap(short = 'l', long)] [INFO] [stdout] 254 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 255 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | / #[clap(short = 't', long)] [INFO] [stdout] 260 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 261 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:262:3 [INFO] [stdout] | [INFO] [stdout] 262 | / #[clap(short = 'f', long)] [INFO] [stdout] 263 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 264 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | / #[clap(short = 'e', long)] [INFO] [stdout] 266 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 267 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | / #[clap(short = 'i', long)] [INFO] [stdout] 269 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 270 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | / #[clap(short = 'l', long)] [INFO] [stdout] 272 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 273 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / #[clap(short = 'i', long)] [INFO] [stdout] 284 | | /// The ID of the storage location to show [INFO] [stdout] 285 | | storage_id: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatsByDataCenterRequest` is never constructed [INFO] [stdout] --> src/commands_statistics.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | struct StatsByDataCenterRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | / #[clap(short = 'a', long)] [INFO] [stdout] 42 | | /// Either provide the token (dangerous!) or create an environment variable `CDN77_API_TOKEN` (preferred) [INFO] [stdout] 43 | | api_token: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | / #[clap(short = 'i', long)] [INFO] [stdout] 96 | | /// The ID of the resource which you'd like to purge files from [INFO] [stdout] 97 | | job_id: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | / #[clap(short = 'p', long)] [INFO] [stdout] 105 | | /// A comma separated list of paths to prefetch [INFO] [stdout] 106 | | paths: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | / #[clap(short = 'u', long)] [INFO] [stdout] 108 | | /// Use when host header forwarding is active on your CDN Resource [INFO] [stdout] 109 | | upstream_host: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | / #[clap(short = 'p', long)] [INFO] [stdout] 117 | | /// A comma seperated list of paths you'd like to clear. [INFO] [stdout] 118 | | /// Can contain wildcards (*) [INFO] [stdout] 119 | | paths: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | / #[clap(short = 'f', long)] [INFO] [stdout] 149 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 150 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | / #[clap(short = 'e', long)] [INFO] [stdout] 152 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 153 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | / #[clap(short = 'i', long)] [INFO] [stdout] 155 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 156 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | / #[clap(short = 'l', long)] [INFO] [stdout] 158 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 159 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | / #[clap(short = 'a', long)] [INFO] [stdout] 161 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 162 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | / #[clap(short = 'f', long)] [INFO] [stdout] 167 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 168 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | / #[clap(short = 'e', long)] [INFO] [stdout] 170 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 171 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | / #[clap(short = 'i', long)] [INFO] [stdout] 173 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 174 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | / #[clap(short = 'l', long)] [INFO] [stdout] 176 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 177 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | / #[clap(short = 'f', long)] [INFO] [stdout] 185 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 186 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | / #[clap(short = 'e', long)] [INFO] [stdout] 188 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 189 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | / #[clap(short = 'i', long)] [INFO] [stdout] 191 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 192 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | / #[clap(short = 'l', long)] [INFO] [stdout] 194 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 195 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | / #[clap(short = 'a', long)] [INFO] [stdout] 197 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 198 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:202:3 [INFO] [stdout] | [INFO] [stdout] 202 | / #[clap(short = 't', long)] [INFO] [stdout] 203 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 204 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:205:3 [INFO] [stdout] | [INFO] [stdout] 205 | / #[clap(short = 'f', long)] [INFO] [stdout] 206 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 207 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 208 | / #[clap(short = 'e', long)] [INFO] [stdout] 209 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 210 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | / #[clap(short = 'i', long)] [INFO] [stdout] 212 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 213 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / #[clap(short = 'l', long)] [INFO] [stdout] 215 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 216 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | / #[clap(short = 'f', long)] [INFO] [stdout] 224 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 225 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | / #[clap(short = 'e', long)] [INFO] [stdout] 227 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 228 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | / #[clap(short = 'i', long)] [INFO] [stdout] 230 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 231 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | / #[clap(short = 'l', long)] [INFO] [stdout] 233 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 234 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | / #[clap(short = 'a', long)] [INFO] [stdout] 236 | | /// Aggregation, examples from docs: 5-m, 1-h, 1-d, 1-month (minutes must be divisible by five) [INFO] [stdout] 237 | | aggregation: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | / #[clap(short = 't', long)] [INFO] [stdout] 242 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 243 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | / #[clap(short = 'f', long)] [INFO] [stdout] 245 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 246 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | / #[clap(short = 'e', long)] [INFO] [stdout] 248 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 249 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:250:3 [INFO] [stdout] | [INFO] [stdout] 250 | / #[clap(short = 'i', long)] [INFO] [stdout] 251 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 252 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | / #[clap(short = 'l', long)] [INFO] [stdout] 254 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 255 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | / #[clap(short = 't', long)] [INFO] [stdout] 260 | | /// Stat type: headers, traffic, hit-miss, costs [INFO] [stdout] 261 | | stat_type: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:262:3 [INFO] [stdout] | [INFO] [stdout] 262 | / #[clap(short = 'f', long)] [INFO] [stdout] 263 | | /// Start date/time in format: YYYY-MM-DD hh:mm [INFO] [stdout] 264 | | from: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | / #[clap(short = 'e', long)] [INFO] [stdout] 266 | | /// End date/time in format YYYY-MM-DD hh:mm [INFO] [stdout] 267 | | to: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | / #[clap(short = 'i', long)] [INFO] [stdout] 269 | | /// (opt) IDs of CDN resources, defaults to all [INFO] [stdout] 270 | | resource_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | / #[clap(short = 'l', long)] [INFO] [stdout] 272 | | /// (opt) Location names (e.g. 'prague'), defaults to all [INFO] [stdout] 273 | | location_ids: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | / #[clap(short = 'i', long)] [INFO] [stdout] 284 | | /// The ID of the storage location to show [INFO] [stdout] 285 | | storage_id: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdn77-client` (bin "cdn77-client") due to 40 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cdn77-client` (bin "cdn77-client" test) due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7956611ff84d9096d334059035823ddb78bdd8720bc73473c66220bbc1bcbcf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7956611ff84d9096d334059035823ddb78bdd8720bc73473c66220bbc1bcbcf9", kill_on_drop: false }` [INFO] [stdout] 7956611ff84d9096d334059035823ddb78bdd8720bc73473c66220bbc1bcbcf9