[INFO] cloning repository https://github.com/epdtry/tfh-mitm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epdtry/tfh-mitm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepdtry%2Ftfh-mitm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepdtry%2Ftfh-mitm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c7b1be42da79cd00dacc88958ba41c97360c6f1 [INFO] checking epdtry/tfh-mitm against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepdtry%2Ftfh-mitm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epdtry/tfh-mitm on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epdtry/tfh-mitm [INFO] finished tweaking git repo https://github.com/epdtry/tfh-mitm [INFO] tweaked toml for git repo https://github.com/epdtry/tfh-mitm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/epdtry/tfh-mitm 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b0ede944cc1363580d50aa5ab890df9ba6bc28302e1083005a37099aaa0a595 [INFO] running `Command { std: "docker" "start" "-a" "3b0ede944cc1363580d50aa5ab890df9ba6bc28302e1083005a37099aaa0a595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b0ede944cc1363580d50aa5ab890df9ba6bc28302e1083005a37099aaa0a595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0ede944cc1363580d50aa5ab890df9ba6bc28302e1083005a37099aaa0a595", kill_on_drop: false }` [INFO] [stdout] 3b0ede944cc1363580d50aa5ab890df9ba6bc28302e1083005a37099aaa0a595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b36ea576aceed61c4bd5463ea07ff83eb32e060c9588cda9f4f422fa170895fe [INFO] running `Command { std: "docker" "start" "-a" "b36ea576aceed61c4bd5463ea07ff83eb32e060c9588cda9f4f422fa170895fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tfh-mitm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/packet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/packet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PACKET_CAP` [INFO] [stdout] --> src/pcap.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packet::{Packet, PACKET_CAP}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/process.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PACKET_CAP` [INFO] [stdout] --> src/pcap.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packet::{Packet, PACKET_CAP}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/process.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/process.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/process.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/process.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/process.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/tuntap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/tuntap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/tuntap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/tuntap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union [INFO] [stdout] --> src/tuntap.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub ifru_map: ifmap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` [INFO] [stdout] help: wrap the field type in `ManuallyDrop<...>` [INFO] [stdout] | [INFO] [stdout] 49 | pub ifru_map: std::mem::ManuallyDrop, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union [INFO] [stdout] --> src/tuntap.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub ifru_map: ifmap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` [INFO] [stdout] help: wrap the field type in `ManuallyDrop<...>` [INFO] [stdout] | [INFO] [stdout] 49 | pub ifru_map: std::mem::ManuallyDrop, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `si` [INFO] [stdout] --> src/process.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | ConnTuple::Ipv4(ci, cp, si, sp) => (ci, cp, sp), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_si` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `si` [INFO] [stdout] --> src/process.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | ConnTuple::Ipv4(ci, cp, si, sp) => (ci, cp, sp), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_si` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/process.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | for j in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/process.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | for j in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/tfh_stream.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn on_message(&mut self, ct: ConnTuple, msg: Message) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/tfh_stream.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn on_message(&mut self, ct: ConnTuple, msg: Message) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/tfh_stream.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | fn on_message(&mut self, ct: ConnTuple, msg: Message) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/tfh_stream.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | fn on_message(&mut self, ct: ConnTuple, msg: Message) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/tfh_stream.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn on_timeout(&mut self, ct: ConnTuple) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/tfh_stream.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn on_timeout(&mut self, ct: ConnTuple) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tfh-mitm` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tfh-mitm` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b36ea576aceed61c4bd5463ea07ff83eb32e060c9588cda9f4f422fa170895fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36ea576aceed61c4bd5463ea07ff83eb32e060c9588cda9f4f422fa170895fe", kill_on_drop: false }` [INFO] [stdout] b36ea576aceed61c4bd5463ea07ff83eb32e060c9588cda9f4f422fa170895fe