[INFO] cloning repository https://github.com/sjbaker47/rust-nslookup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjbaker47/rust-nslookup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjbaker47%2Frust-nslookup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjbaker47%2Frust-nslookup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ae35cc62e1c2401b077b320cb2d3404b02b40cb [INFO] checking sjbaker47/rust-nslookup against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjbaker47%2Frust-nslookup" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sjbaker47/rust-nslookup on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sjbaker47/rust-nslookup [INFO] finished tweaking git repo https://github.com/sjbaker47/rust-nslookup [INFO] tweaked toml for git repo https://github.com/sjbaker47/rust-nslookup written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sjbaker47/rust-nslookup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6c35f61c7f8db0021cd73d4fcbb85b5dbaf2cf3f6128441541e2f2bef998dbf [INFO] running `Command { std: "docker" "start" "-a" "f6c35f61c7f8db0021cd73d4fcbb85b5dbaf2cf3f6128441541e2f2bef998dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c35f61c7f8db0021cd73d4fcbb85b5dbaf2cf3f6128441541e2f2bef998dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c35f61c7f8db0021cd73d4fcbb85b5dbaf2cf3f6128441541e2f2bef998dbf", kill_on_drop: false }` [INFO] [stdout] f6c35f61c7f8db0021cd73d4fcbb85b5dbaf2cf3f6128441541e2f2bef998dbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26b5d571b446e1ad8e77774588fab5df27d25127d6230d726005b70c9195993e [INFO] running `Command { std: "docker" "start" "-a" "26b5d571b446e1ad8e77774588fab5df27d25127d6230d726005b70c9195993e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking nslookup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `decode_name` in this scope [INFO] [stdout] --> src/protocol/name.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn encode_name(name : &str) -> Vec { [INFO] [stdout] | ------------------------------------------ similarly named function `encode_name` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | let decoded = decode_name(&buf); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `encode_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_name` in this scope [INFO] [stdout] --> src/protocol/name.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn encode_name(name : &str) -> Vec { [INFO] [stdout] | ------------------------------------------ similarly named function `encode_name` defined here [INFO] [stdout] ... [INFO] [stdout] 106 | let decoded = decode_name(&buf); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `encode_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/protocol/name.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | let decoded = decode_name_rdr(&mut Cursor::new(&buf)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/protocol/name.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | let decoded = decode_name_rdr(&mut Cursor::new(&buf)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/protocol/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(hostname : String) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/protocol/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:54 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(hostname : String) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/protocol/mod.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | for i in 0..nquestions { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/protocol/mod.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | for i in 0..nanswers { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nslookup` due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/protocol/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | header: DnsHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `questions` [INFO] [stdout] --> src/protocol/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | questions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/protocol/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | name: NameRef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qtype` [INFO] [stdout] --> src/protocol/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | qtype: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `qclass` [INFO] [stdout] --> src/protocol/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | qclass: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/protocol/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | header: RecordHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/protocol/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | name: NameRef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rr_class` [INFO] [stdout] --> src/protocol/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | rr_class: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ttl` [INFO] [stdout] --> src/protocol/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ttl: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26b5d571b446e1ad8e77774588fab5df27d25127d6230d726005b70c9195993e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b5d571b446e1ad8e77774588fab5df27d25127d6230d726005b70c9195993e", kill_on_drop: false }` [INFO] [stdout] 26b5d571b446e1ad8e77774588fab5df27d25127d6230d726005b70c9195993e