[INFO] cloning repository https://github.com/mcastrogg/implement-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcastrogg/implement-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcastrogg%2Fimplement-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcastrogg%2Fimplement-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc3fe927ae1ec33d58660665d069f840e5470a72 [INFO] checking mcastrogg/implement-dns against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcastrogg%2Fimplement-dns" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcastrogg/implement-dns [INFO] finished tweaking git repo https://github.com/mcastrogg/implement-dns [INFO] tweaked toml for git repo https://github.com/mcastrogg/implement-dns written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcastrogg/implement-dns on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcastrogg/implement-dns 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bincode v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de611ea9ad22ca3ccc4168c36448854b675a33afb692ffd3e5118c9e9720c3a [INFO] running `Command { std: "docker" "start" "-a" "8de611ea9ad22ca3ccc4168c36448854b675a33afb692ffd3e5118c9e9720c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de611ea9ad22ca3ccc4168c36448854b675a33afb692ffd3e5118c9e9720c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de611ea9ad22ca3ccc4168c36448854b675a33afb692ffd3e5118c9e9720c3a", kill_on_drop: false }` [INFO] [stdout] 8de611ea9ad22ca3ccc4168c36448854b675a33afb692ffd3e5118c9e9720c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc695349e08c250bb18f244d942a6efbee7ea670438770b0d27e3bcac34a3e60 [INFO] running `Command { std: "docker" "start" "-a" "fc695349e08c250bb18f244d942a6efbee7ea670438770b0d27e3bcac34a3e60", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking bincode v0.7.0 [INFO] [stderr] Checking implement-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let RECURSION_DESIRED = 1 << 8 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 93 | let header = DNSHeader::new(4884, 0, 1, 0, 0, 0); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `random` in this scope [INFO] [stdout] --> src/main.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let id = random.randint(0, 65535); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let RECURSION_DESIRED = 1 << 8 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 93 | let header = DNSHeader::new(4884, 0, 1, 0, 0, 0); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | fn build_query(domain: &str) -> Vec { [INFO] [stdout] | ----------- ^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `domain_encoded` [INFO] [stdout] | [INFO] [stdout] 93 ~ let header = DNSHeader::new(4884, 0, 1, 0, 0, 0); [INFO] [stdout] 94 + domain_encoded [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `implement-dns` (bin "implement-dns" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `random` in this scope [INFO] [stdout] --> src/main.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let id = random.randint(0, 65535); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | fn build_query(domain: &str) -> Vec { [INFO] [stdout] | ----------- ^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `domain_encoded` [INFO] [stdout] | [INFO] [stdout] 93 ~ let header = DNSHeader::new(4884, 0, 1, 0, 0, 0); [INFO] [stdout] 94 + domain_encoded [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `implement-dns` (bin "implement-dns") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fc695349e08c250bb18f244d942a6efbee7ea670438770b0d27e3bcac34a3e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc695349e08c250bb18f244d942a6efbee7ea670438770b0d27e3bcac34a3e60", kill_on_drop: false }` [INFO] [stdout] fc695349e08c250bb18f244d942a6efbee7ea670438770b0d27e3bcac34a3e60