[INFO] cloning repository https://github.com/declspec/rustydns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/declspec/rustydns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclspec%2Frustydns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclspec%2Frustydns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19c20a5d5ba7f383e0f43ff31319c2559f50f8e6 [INFO] checking declspec/rustydns against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclspec%2Frustydns" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/declspec/rustydns on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/declspec/rustydns [INFO] finished tweaking git repo https://github.com/declspec/rustydns [INFO] tweaked toml for git repo https://github.com/declspec/rustydns written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/declspec/rustydns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f5d2924dbbd4adf037e052a6f59b14ad35efce9475efa526c2f6029ed8b87e7 [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" "9f5d2924dbbd4adf037e052a6f59b14ad35efce9475efa526c2f6029ed8b87e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f5d2924dbbd4adf037e052a6f59b14ad35efce9475efa526c2f6029ed8b87e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5d2924dbbd4adf037e052a6f59b14ad35efce9475efa526c2f6029ed8b87e7", kill_on_drop: false }` [INFO] [stdout] 9f5d2924dbbd4adf037e052a6f59b14ad35efce9475efa526c2f6029ed8b87e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de77d811ff1f448cc99d1d510e71304977f63d2b845ebe4bcaf4d5a9e0266929 [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" "de77d811ff1f448cc99d1d510e71304977f63d2b845ebe4bcaf4d5a9e0266929", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking dnsproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/relay.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let master = try!(UdpSocket::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/relay.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let slave = try!(UdpSocket::bind("0.0.0.0:0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let captures = try!(RECORD_PATTERN.captures(s).ok_or("did not match record pattern")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let addr = try!(captures["ip"].parse().map_err(|_| "invalid ip address")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let regexp = try!(Regex::new(&captures["re"]).map_err(|_| "malformed regular expression")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let options = try!(parse_options(&captures["o"])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | "ttl" => ttl = try!(parse_ttl(val)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let options = try!(opts.parse(args).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | let addr = try!(server.parse::().map_err(|_| "server is not a valid ip:port string".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let records = try!(parse_dns_records(Path::new(&hostfile))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let local = try!(local.parse::().map_err(|_| "local address is not a valid ip:port string".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/dnsproxy/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / ... lazy_static!{ [INFO] [stdout] 14 | | ... static ref RECORD_PATTERN: Regex = Regex::new(r"^\s+(?P(?:[0-9]{1,3}\.){3}[0-9]{1,3})\s+(?P[^\s]+)(?:\s+\[(?P[^\]]+)... [INFO] [stdout] 15 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/relay.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let master = try!(UdpSocket::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/relay.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let slave = try!(UdpSocket::bind("0.0.0.0:0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let captures = try!(RECORD_PATTERN.captures(s).ok_or("did not match record pattern")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let addr = try!(captures["ip"].parse().map_err(|_| "invalid ip address")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let regexp = try!(Regex::new(&captures["re"]).map_err(|_| "malformed regular expression")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let options = try!(parse_options(&captures["o"])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnsproxy/parser.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | "ttl" => ttl = try!(parse_ttl(val)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let options = try!(opts.parse(args).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | let addr = try!(server.parse::().map_err(|_| "server is not a valid ip:port string".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let records = try!(parse_dns_records(Path::new(&hostfile))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let local = try!(local.parse::().map_err(|_| "local address is not a valid ip:port string".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/dnsproxy/relay.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] ... [INFO] [stdout] 48 | let (len, client) = try_or_continue!(master.recv_from(&mut ibuffer)); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/dnsproxy/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / ... lazy_static!{ [INFO] [stdout] 14 | | ... static ref RECORD_PATTERN: Regex = Regex::new(r"^\s+(?P(?:[0-9]{1,3}\.){3}[0-9]{1,3})\s+(?P[^\s]+)(?:\s+\[(?P[^\]]+)... [INFO] [stdout] 15 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Literal(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qclass` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | qclass: u16 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/dnsproxy/relay.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] ... [INFO] [stdout] 48 | let (len, client) = try_or_continue!(master.recv_from(&mut ibuffer)); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Literal(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qclass` [INFO] [stdout] --> src/dnsproxy/interceptor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | qclass: u16 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.00s [INFO] running `Command { std: "docker" "inspect" "de77d811ff1f448cc99d1d510e71304977f63d2b845ebe4bcaf4d5a9e0266929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de77d811ff1f448cc99d1d510e71304977f63d2b845ebe4bcaf4d5a9e0266929", kill_on_drop: false }` [INFO] [stdout] de77d811ff1f448cc99d1d510e71304977f63d2b845ebe4bcaf4d5a9e0266929