[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] 90cdc71ff245c22c6d6025498548157fe665acb0 [INFO] checking dosgo/ddnsv6-rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdosgo%2Fddnsv6-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dosgo/ddnsv6-rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/dosgo/ddnsv6-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dns-lookup v1.0.7 [INFO] [stderr] Downloaded minreq v2.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c6f015baa69d3852abd488a326705d482dc02711de8aeb8f2c5f4d7ca298049 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c6f015baa69d3852abd488a326705d482dc02711de8aeb8f2c5f4d7ca298049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c6f015baa69d3852abd488a326705d482dc02711de8aeb8f2c5f4d7ca298049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c6f015baa69d3852abd488a326705d482dc02711de8aeb8f2c5f4d7ca298049", kill_on_drop: false }` [INFO] [stdout] 7c6f015baa69d3852abd488a326705d482dc02711de8aeb8f2c5f4d7ca298049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9015a6d134b515212039e88acc643281c33718bc2095584e2af8dc94c8918bf7 [INFO] running `Command { std: "docker" "start" "-a" "9015a6d134b515212039e88acc643281c33718bc2095584e2af8dc94c8918bf7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling minreq v2.4.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking dns-lookup v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking serde_json v1.0.64 [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: 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: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [INFO] [stdout] warning: constant is never used: `DNSPOD_API` [INFO] [stdout] --> src/ddns/dnspod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const DNSPOD_API: &str = "https://dnsapi.cn/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/ddns/dnspod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `postv1` [INFO] [stdout] --> src/ddns/dnspod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn postv1( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_record` [INFO] [stdout] --> src/ddns/dnspod.rs:47:12 [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: `#[warn(non_fmt_panics)]` on by default [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 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", f.to_string()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 22 | std::panic::panic_any(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)]` 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::().unwrap(); //String to int [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ip_two` [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: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_dns_pod` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [INFO] [stdout] warning: constant is never used: `DNSPOD_API` [INFO] [stdout] --> src/ddns/dnspod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const DNSPOD_API: &str = "https://dnsapi.cn/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/ddns/dnspod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `postv1` [INFO] [stdout] --> src/ddns/dnspod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn postv1( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_record` [INFO] [stdout] --> src/ddns/dnspod.rs:47:12 [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: `#[warn(non_fmt_panics)]` on by default [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 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", f.to_string()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 22 | std::panic::panic_any(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)]` 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::().unwrap(); //String to int [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ip_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.31s [INFO] running `Command { std: "docker" "inspect" "9015a6d134b515212039e88acc643281c33718bc2095584e2af8dc94c8918bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9015a6d134b515212039e88acc643281c33718bc2095584e2af8dc94c8918bf7", kill_on_drop: false }` [INFO] [stdout] 9015a6d134b515212039e88acc643281c33718bc2095584e2af8dc94c8918bf7