[INFO] cloning repository https://github.com/dosgo/ddnsv6-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dosgo/ddnsv6-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdosgo%2Fddnsv6-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdosgo%2Fddnsv6-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b0d3d271d153b052264e4aae82f50e674c1dfba
[INFO] checking dosgo/ddnsv6-rust against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdosgo%2Fddnsv6-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dosgo/ddnsv6-rust
[INFO] finished tweaking git repo https://github.com/dosgo/ddnsv6-rust
[INFO] tweaked toml for git repo https://github.com/dosgo/ddnsv6-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dosgo/ddnsv6-rust on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dosgo/ddnsv6-rust 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded security-framework-sys v2.3.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.65
[INFO] [stderr]   Downloaded dns-lookup v1.0.7
[INFO] [stderr]   Downloaded minreq v2.4.2
[INFO] [stderr]   Downloaded openssl v0.10.35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dbcb7bbcb4f47470a45cd29da48969e1e195e3ba50f54d4ebec9770cc25fd4dc
[INFO] running `Command { std: "docker" "start" "-a" "dbcb7bbcb4f47470a45cd29da48969e1e195e3ba50f54d4ebec9770cc25fd4dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbcb7bbcb4f47470a45cd29da48969e1e195e3ba50f54d4ebec9770cc25fd4dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbcb7bbcb4f47470a45cd29da48969e1e195e3ba50f54d4ebec9770cc25fd4dc", kill_on_drop: false }`
[INFO] [stdout] dbcb7bbcb4f47470a45cd29da48969e1e195e3ba50f54d4ebec9770cc25fd4dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91b02b34c7c63064c5d2eed4239ce32a532ee66cc965a78b5942add4afeb0e58
[INFO] running `Command { std: "docker" "start" "-a" "91b02b34c7c63064c5d2eed4239ce32a532ee66cc965a78b5942add4afeb0e58", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling openssl v0.10.35
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling minreq v2.4.2
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking c_linked_list v1.1.1
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking get_if_addrs v0.5.3
[INFO] [stderr]     Checking dns-lookup v1.0.7
[INFO] [stderr]     Checking ddnsv6 v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/ddns.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/ddns.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ddns/cloudflare.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dns_pod` is assigned to, but never used
[INFO] [stdout]   --> src/ddns.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let dns_pod: dnspod::DnsPod;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_dns_pod` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dns_pod` is never read
[INFO] [stdout]   --> src/ddns.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         dns_pod = dnspod::DnsPod::new(dnsPodToken);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DNSPOD_API` is never used
[INFO] [stdout]  --> src/ddns/dnspod.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DNSPOD_API: &str = "https://dnsapi.cn/";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]  --> src/ddns/dnspod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct DnsPod {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 7 |     token: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `postv1` and `get_record` are never used
[INFO] [stdout]   --> src/ddns/dnspod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DnsPod {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn postv1(
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn get_record(&self, domain: String, record_type: String, sub_domain: String) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             panic!(f.to_string())
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 22 |             panic!("{}", f.to_string())
[INFO] [stdout]    |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dnsPodToken` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     dnsPodToken: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_pod_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dnsPodToken` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     dnsPodToken: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_pod_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `modifyRes` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     let modifyRes = modify(
[INFO] [stdout]    |                         ^^^^^^^^^ help: convert the identifier to snake case: `modify_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `modifyRes` should have a snake case name
[INFO] [stdout]    --> src/ddns.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     let modifyRes = modify(
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `modify_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IsPublicIPV1` should have a snake case name
[INFO] [stdout]   --> src/ddns/iptool.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn IsPublicIPV1(ip: IpAddr) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_public_ipv1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ipTwo` should have a snake case name
[INFO] [stdout]   --> src/ddns/iptool.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 let ipTwo = ips[1].parse::<i32>().unwrap(); //String to int
[INFO] [stdout]    |                     ^^^^^ help: convert the identifier to snake case: `ip_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ddns/cloudflare.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dns_pod` is assigned to, but never used
[INFO] [stdout]   --> src/ddns.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let dns_pod: dnspod::DnsPod;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_dns_pod` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dns_pod` is never read
[INFO] [stdout]   --> src/ddns.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         dns_pod = dnspod::DnsPod::new(dnsPodToken);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DNSPOD_API` is never used
[INFO] [stdout]  --> src/ddns/dnspod.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DNSPOD_API: &str = "https://dnsapi.cn/";
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]  --> src/ddns/dnspod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct DnsPod {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 7 |     token: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `postv1` and `get_record` are never used
[INFO] [stdout]   --> src/ddns/dnspod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DnsPod {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn postv1(
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn get_record(&self, domain: String, record_type: String, sub_domain: String) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             panic!(f.to_string())
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 22 |             panic!("{}", f.to_string())
[INFO] [stdout]    |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dnsPodToken` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     dnsPodToken: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_pod_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dnsPodToken` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     dnsPodToken: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_pod_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `modifyRes` should have a snake case name
[INFO] [stdout]   --> src/ddns.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     let modifyRes = modify(
[INFO] [stdout]    |                         ^^^^^^^^^ help: convert the identifier to snake case: `modify_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `modifyRes` should have a snake case name
[INFO] [stdout]    --> src/ddns.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     let modifyRes = modify(
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `modify_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IsPublicIPV1` should have a snake case name
[INFO] [stdout]   --> src/ddns/iptool.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn IsPublicIPV1(ip: IpAddr) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_public_ipv1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ipTwo` should have a snake case name
[INFO] [stdout]   --> src/ddns/iptool.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 let ipTwo = ips[1].parse::<i32>().unwrap(); //String to int
[INFO] [stdout]    |                     ^^^^^ help: convert the identifier to snake case: `ip_two`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.54s
[INFO] running `Command { std: "docker" "inspect" "91b02b34c7c63064c5d2eed4239ce32a532ee66cc965a78b5942add4afeb0e58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91b02b34c7c63064c5d2eed4239ce32a532ee66cc965a78b5942add4afeb0e58", kill_on_drop: false }`
[INFO] [stdout] 91b02b34c7c63064c5d2eed4239ce32a532ee66cc965a78b5942add4afeb0e58
