[INFO] cloning repository https://github.com/harrisonturton/rust-dns
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harrisonturton/rust-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonturton%2Frust-dns", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonturton%2Frust-dns'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 304f1461047a59882774ef4fe07fdef503e16faf
[INFO] testing harrisonturton/rust-dns against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonturton%2Frust-dns" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/harrisonturton/rust-dns
[INFO] finished tweaking git repo https://github.com/harrisonturton/rust-dns
[INFO] tweaked toml for git repo https://github.com/harrisonturton/rust-dns written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/harrisonturton/rust-dns on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/harrisonturton/rust-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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091
[INFO] running `Command { std: "docker" "start" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling io-lifetimes v1.0.4
[INFO] [stderr]    Compiling rustix v0.36.6
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling os_str_bytes v6.4.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling tokio v1.24.1
[INFO] [stderr]    Compiling clap_lex v0.3.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling is-terminal v0.4.2
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling clap_derive v4.1.0
[INFO] [stderr]    Compiling core v0.0.0 (/opt/rustwide/workdir/core)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> core/src/record.rs:39:48
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let data = packet.read_range(len as usize)?.clone().to_vec();
[INFO] [stdout]    |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v4.1.1
[INFO] [stderr]    Compiling cli v0.0.0 (/opt/rustwide/workdir/cli)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 35.61s
[INFO] running `Command { std: "docker" "inspect" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling core v0.0.0 (/opt/rustwide/workdir/core)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> core/src/record.rs:39:48
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let data = packet.read_range(len as usize)?.clone().to_vec();
[INFO] [stdout]    |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cli v0.0.0 (/opt/rustwide/workdir/cli)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/src/header.rs:193:21
[INFO] [stdout]     |
[INFO] [stdout] 193 |             opcode: 0b111,
[INFO] [stdout]     |                     ^^^^^ expected `Opcode`, found integer
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `header::Opcode::Unknown`
[INFO] [stdout]     |
[INFO] [stdout] 193 |             opcode: header::Opcode::Unknown(0b111),
[INFO] [stdout]     |                     ++++++++++++++++++++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/src/header.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 199 |             rcode: 0b1111,
[INFO] [stdout]     |                    ^^^^^^ expected `ResponseCode`, found integer
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `header::ResponseCode::Unknown`
[INFO] [stdout]     |
[INFO] [stdout] 199 |             rcode: header::ResponseCode::Unknown(0b1111),
[INFO] [stdout]     |                    ++++++++++++++++++++++++++++++      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Opcode`
[INFO] [stdout]    --> core/src/header.rs:249:9
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_eq!(header.opcode, QUERY_OPCODE);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Opcode
[INFO] [stdout]     |         u8
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq<u8>` might be missing for `Opcode`
[INFO] [stdout]    --> core/src/header.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub enum Opcode {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ must implement `PartialEq<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ResponseCode`
[INFO] [stdout]    --> core/src/header.rs:309:9
[INFO] [stdout]     |
[INFO] [stdout] 309 |         assert_eq!(header.rcode, QUERY_RCODE);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         ResponseCode
[INFO] [stdout]     |         u8
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq<u8>` might be missing for `ResponseCode`
[INFO] [stdout]    --> core/src/header.rs:135:1
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub enum ResponseCode {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `core` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091", kill_on_drop: false }`
[INFO] [stdout] dd03cce69e74efc31b7344ff608f4157a232ad70646065d551e0ab8cc4f7d091
