[INFO] fetching crate cao 0.1.2... [INFO] checking cao-0.1.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cao 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate cao 0.1.2 [INFO] finished tweaking crates.io crate cao 0.1.2 [INFO] tweaked toml for crates.io crate cao 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cao 0.1.2 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 crates.io crate cao 0.1.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 596b91714bfc5ced20c93baeab51e22d4130bcb1b4d9b1a2381ca500ff447d0a [INFO] running `Command { std: "docker" "start" "-a" "596b91714bfc5ced20c93baeab51e22d4130bcb1b4d9b1a2381ca500ff447d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596b91714bfc5ced20c93baeab51e22d4130bcb1b4d9b1a2381ca500ff447d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596b91714bfc5ced20c93baeab51e22d4130bcb1b4d9b1a2381ca500ff447d0a", kill_on_drop: false }` [INFO] [stdout] 596b91714bfc5ced20c93baeab51e22d4130bcb1b4d9b1a2381ca500ff447d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] de1daac882665da09e3da60134c613525bbfd60f9ac6ef5ccc78c1383a0508c2 [INFO] running `Command { std: "docker" "start" "-a" "de1daac882665da09e3da60134c613525bbfd60f9ac6ef5ccc78c1383a0508c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking if-addrs v0.6.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking ureq v2.1.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking trust-dns-proto v0.20.1 [INFO] [stderr] Checking cao v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | ProviderError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 7 - ProviderError(String), [INFO] [stdout] 7 + ProviderError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | UnimplementedProvider(String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 9 - UnimplementedProvider(String), [INFO] [stdout] 9 + UnimplementedProvider(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 10 - IOError(io::Error), [INFO] [stdout] 10 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | InterfaceError(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 12 - InterfaceError(String), [INFO] [stdout] 12 + InterfaceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | HttpRequestError(Box), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 18 - HttpRequestError(Box), [INFO] [stdout] 18 + HttpRequestError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | InterfaceFilterError(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 20 - InterfaceFilterError(String), [INFO] [stdout] 20 + InterfaceFilterError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | Utf8EncodingError(std::string::FromUtf8Error), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 21 - Utf8EncodingError(std::string::FromUtf8Error), [INFO] [stdout] 21 + Utf8EncodingError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | JsonParsingError(serde_json::error::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 22 - JsonParsingError(serde_json::error::Error), [INFO] [stdout] 22 + JsonParsingError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | / /// DNS API Provider. [INFO] [stdout] 10 | | /// Only DNSPOD now. [INFO] [stdout] 11 | | #[structopt(short, long)] [INFO] [stdout] 12 | | provider: String, [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/args.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Token in file. [INFO] [stdout] 14 | | /// The file only contains the token. [INFO] [stdout] 15 | | #[structopt(short, long)] [INFO] [stdout] 16 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / /// Domain [INFO] [stdout] 18 | | #[structopt(short, long)] [INFO] [stdout] 19 | | domain: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / #[structopt(short, long)] [INFO] [stdout] 27 | | interface: Option [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Subdomain [INFO] [stdout] 38 | | #[structopt(short, long = "sub")] [INFO] [stdout] 39 | | sub_domain: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Record type [INFO] [stdout] 41 | | #[structopt(short = "t", long = "type")] [INFO] [stdout] 42 | | record_type: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / /// Record line [INFO] [stdout] 44 | | #[structopt(short = "l", long = "line")] [INFO] [stdout] 45 | | record_line: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / /// Value [INFO] [stdout] 47 | | #[structopt(short, long)] [INFO] [stdout] 48 | | value: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / /// Get value from interface [INFO] [stdout] 50 | | #[structopt(long = "if")] [INFO] [stdout] 51 | | interface: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / /// Subdomain [INFO] [stdout] 62 | | #[structopt(short, long)] [INFO] [stdout] 63 | | sub_domain: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / /// Subdomain [INFO] [stdout] 71 | | #[structopt(short, long = "sub")] [INFO] [stdout] 72 | | sub_domain: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / /// Record type [INFO] [stdout] 74 | | #[structopt(short = "t", long = "type")] [INFO] [stdout] 75 | | record_type: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Record line [INFO] [stdout] 77 | | #[structopt(short = "l", long = "line")] [INFO] [stdout] 78 | | record_line: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / /// Value [INFO] [stdout] 80 | | #[structopt(short, long)] [INFO] [stdout] 81 | | value: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// Get value from interface [INFO] [stdout] 83 | | #[structopt(long = "if")] [INFO] [stdout] 84 | | interface: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/provider.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn provider_register(provider: &str) [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 15 | -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cao` (bin "cao") due to 15 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "de1daac882665da09e3da60134c613525bbfd60f9ac6ef5ccc78c1383a0508c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1daac882665da09e3da60134c613525bbfd60f9ac6ef5ccc78c1383a0508c2", kill_on_drop: false }` [INFO] [stdout] de1daac882665da09e3da60134c613525bbfd60f9ac6ef5ccc78c1383a0508c2