[INFO] cloning repository https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBotoaca-Florentina-Veronica%2FSSC-proiect-MITM", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBotoaca-Florentina-Veronica%2FSSC-proiect-MITM'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd514dcd49afef9720b2585a2209eca7f5395c81
[INFO] testing Botoaca-Florentina-Veronica/SSC-proiect-MITM against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBotoaca-Florentina-Veronica%2FSSC-proiect-MITM" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM
[INFO] finished tweaking git repo https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM
[INFO] tweaked toml for git repo https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-MITM on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Botoaca-Florentina-Veronica/SSC-proiect-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hashlink v0.10.0
[INFO] [stderr]   Downloaded dns-lookup v2.0.4
[INFO] [stderr]   Downloaded libloading v0.6.7
[INFO] [stderr]   Downloaded pcap v0.10.1
[INFO] [stderr]   Downloaded cc v1.2.24
[INFO] [stderr]   Downloaded rusqlite v0.36.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 351af05ce3f08a81005650ffc0e183c0514f30b619a1f990d467577e4f11b5fd
[INFO] running `Command { std: "docker" "start" "-a" "351af05ce3f08a81005650ffc0e183c0514f30b619a1f990d467577e4f11b5fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "351af05ce3f08a81005650ffc0e183c0514f30b619a1f990d467577e4f11b5fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "351af05ce3f08a81005650ffc0e183c0514f30b619a1f990d467577e4f11b5fd", kill_on_drop: false }`
[INFO] [stdout] 351af05ce3f08a81005650ffc0e183c0514f30b619a1f990d467577e4f11b5fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09f0d611eb31f58ece722414b5444e381e1c37e95d175d18e240972240d4f17f
[INFO] running `Command { std: "docker" "start" "-a" "09f0d611eb31f58ece722414b5444e381e1c37e95d175d18e240972240d4f17f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling dns-lookup v2.0.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.34.0
[INFO] [stderr]    Compiling rusqlite v0.36.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling pcap v0.10.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling mitm-detector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `alerts`
[INFO] [stdout]   --> src/main.rs:61:46
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let alerts = detector::detect_mitm(&packets, &arp_table);
[INFO] [stdout]    |             ------   ------------------------------------------- this reinitialization might get skipped
[INFO] [stdout]    |             |
[INFO] [stdout]    |             move occurs because `alerts` has type `Vec<std::string::String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 53 |             for alert in alerts {
[INFO] [stdout]    |                          ------ `alerts` moved due to this implicit call to `.into_iter()`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         println!("{}", serde_json::to_string(&alerts).unwrap());
[INFO] [stdout]    |                                              ^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `alerts`
[INFO] [stdout]   --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/iter/traits/collect.rs:310:18
[INFO] [stdout] help: consider iterating over a slice of the `Vec<std::string::String>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 53 |             for alert in &alerts {
[INFO] [stdout]    |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mitm-detector` (bin "mitm-detector") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "09f0d611eb31f58ece722414b5444e381e1c37e95d175d18e240972240d4f17f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09f0d611eb31f58ece722414b5444e381e1c37e95d175d18e240972240d4f17f", kill_on_drop: false }`
[INFO] [stdout] 09f0d611eb31f58ece722414b5444e381e1c37e95d175d18e240972240d4f17f
