[INFO] cloning repository https://github.com/ericharding/sequence [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericharding/sequence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericharding%2Fsequence", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericharding%2Fsequence'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76f4402f2d827505b3fb0a60a7a3645eebee1a9d [INFO] checking ericharding/sequence/76f4402f2d827505b3fb0a60a7a3645eebee1a9d against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericharding%2Fsequence" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericharding/sequence on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ericharding/sequence [INFO] finished tweaking git repo https://github.com/ericharding/sequence [INFO] tweaked toml for git repo https://github.com/ericharding/sequence written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ericharding/sequence 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcap-file v1.1.1 [INFO] [stderr] Downloaded derive-into-owned v0.1.0 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6872973cade04295ec45b575606e1e6c6ba3bdf6f669f532505af0a778e36f22 [INFO] running `Command { std: "docker" "start" "-a" "6872973cade04295ec45b575606e1e6c6ba3bdf6f669f532505af0a778e36f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6872973cade04295ec45b575606e1e6c6ba3bdf6f669f532505af0a778e36f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6872973cade04295ec45b575606e1e6c6ba3bdf6f669f532505af0a778e36f22", kill_on_drop: false }` [INFO] [stdout] 6872973cade04295ec45b575606e1e6c6ba3bdf6f669f532505af0a778e36f22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2d62fdc6be33878082bb3e4f0cb4ff43e91ce9dfaed874e928a21521c1d6406 [INFO] running `Command { std: "docker" "start" "-a" "d2d62fdc6be33878082bb3e4f0cb4ff43e91ce9dfaed874e928a21521c1d6406", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling derive-into-owned v0.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pcap-file v1.1.1 [INFO] [stderr] Checking sequence v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*context.decoder` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 23 | let stream = get_stream_context(&ip_packet.dest(), udp_packet.dst_port(), context); [INFO] [stdout] | ------- mutable borrow occurs here [INFO] [stdout] 24 | let range = (context.decoder)(udp_packet.data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 25 | if range.begin != stream.expected_seq { [INFO] [stdout] | ------------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*context.decoder` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 23 | let stream = get_stream_context(&ip_packet.dest(), udp_packet.dst_port(), context); [INFO] [stdout] | ------- mutable borrow occurs here [INFO] [stdout] 24 | let range = (context.decoder)(udp_packet.data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 25 | if range.begin != stream.expected_seq { [INFO] [stdout] | ------------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `packet` because it is borrowed [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 33 | if let decode::IPPacket::IPv4(packet) = p { [INFO] [stdout] | ------ binding `packet` declared here [INFO] [stdout] 34 | if let decode::ProtocolPacket::UDP(udp) = packet.protocol() { [INFO] [stdout] | ------ borrow of `packet` occurs here [INFO] [stdout] 35 | decode_udp(packet, udp, context); [INFO] [stdout] | ^^^^^^ --- borrow later used here [INFO] [stdout] | | [INFO] [stdout] | move out of `packet` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `IPv4Packet<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/decode.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct IPv4Packet<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | if let decode::ProtocolPacket::UDP(udp) = packet.protocol() { [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `packet` because it is borrowed [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 33 | if let decode::IPPacket::IPv4(packet) = p { [INFO] [stdout] | ------ binding `packet` declared here [INFO] [stdout] 34 | if let decode::ProtocolPacket::UDP(udp) = packet.protocol() { [INFO] [stdout] | ------ borrow of `packet` occurs here [INFO] [stdout] 35 | decode_udp(packet, udp, context); [INFO] [stdout] | ^^^^^^ --- borrow later used here [INFO] [stdout] | | [INFO] [stdout] | move out of `packet` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `IPv4Packet<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/decode.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct IPv4Packet<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | if let decode::ProtocolPacket::UDP(udp) = packet.protocol() { [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sequence` (bin "sequence") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sequence` (bin "sequence" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d2d62fdc6be33878082bb3e4f0cb4ff43e91ce9dfaed874e928a21521c1d6406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d62fdc6be33878082bb3e4f0cb4ff43e91ce9dfaed874e928a21521c1d6406", kill_on_drop: false }` [INFO] [stdout] d2d62fdc6be33878082bb3e4f0cb4ff43e91ce9dfaed874e928a21521c1d6406