[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 master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdosgo%2Fddnsv6-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dosgo/ddnsv6-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82fcbcb6d6b5733c42b04ba1f1b00f351a4178ed86271f832aaa3c1d6ac7f8d [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" "e82fcbcb6d6b5733c42b04ba1f1b00f351a4178ed86271f832aaa3c1d6ac7f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82fcbcb6d6b5733c42b04ba1f1b00f351a4178ed86271f832aaa3c1d6ac7f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82fcbcb6d6b5733c42b04ba1f1b00f351a4178ed86271f832aaa3c1d6ac7f8d", kill_on_drop: false }` [INFO] [stdout] e82fcbcb6d6b5733c42b04ba1f1b00f351a4178ed86271f832aaa3c1d6ac7f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] 857313ec99b8c2f2100f835dec1dd13134b38e3163ad85fd23dc41ed456f20d8 [INFO] running `Command { std: "docker" "start" "-a" "857313ec99b8c2f2100f835dec1dd13134b38e3163ad85fd23dc41ed456f20d8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling minreq v2.4.2 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking dns-lookup v1.0.7 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.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: 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 `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: 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] [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 14.50s [INFO] running `Command { std: "docker" "inspect" "857313ec99b8c2f2100f835dec1dd13134b38e3163ad85fd23dc41ed456f20d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857313ec99b8c2f2100f835dec1dd13134b38e3163ad85fd23dc41ed456f20d8", kill_on_drop: false }` [INFO] [stdout] 857313ec99b8c2f2100f835dec1dd13134b38e3163ad85fd23dc41ed456f20d8