[INFO] fetching crate snoopy 0.3.2... [INFO] testing snoopy-0.3.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate snoopy 0.3.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate snoopy 0.3.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snoopy 0.3.2 [INFO] finished tweaking crates.io crate snoopy 0.3.2 [INFO] tweaked toml for crates.io crate snoopy 0.3.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcap v0.7.0 [INFO] [stderr] Downloaded rusticata-macros v1.1.0 [INFO] [stderr] Downloaded hwaddr v0.1.7 [INFO] [stderr] Downloaded pktparse v0.4.1 [INFO] [stderr] Downloaded tls-parser v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad77d1b234311b1015397173c7e98754175c50e1d5c696eae2ec77622189b369 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad77d1b234311b1015397173c7e98754175c50e1d5c696eae2ec77622189b369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad77d1b234311b1015397173c7e98754175c50e1d5c696eae2ec77622189b369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad77d1b234311b1015397173c7e98754175c50e1d5c696eae2ec77622189b369", kill_on_drop: false }` [INFO] [stdout] ad77d1b234311b1015397173c7e98754175c50e1d5c696eae2ec77622189b369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 549b052b22d21adfd9339d26824d91692d4cf1162265b4182a4b6cee4c121764 [INFO] running `Command { std: "docker" "start" "-a" "549b052b22d21adfd9339d26824d91692d4cf1162265b4182a4b6cee4c121764", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pcap v0.7.0 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling rusticata-macros v1.1.0 [INFO] [stderr] Compiling pktparse v0.4.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tls-parser v0.7.1 [INFO] [stderr] Compiling snoopy v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib/packet_parse.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib/packet_capture.rs:134:85 [INFO] [stdout] | [INFO] [stdout] 134 | .expect("Filters invalid, please check the documentation.");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ParsedPacket: Serialize` is not satisfied [INFO] [stdout] --> src/lib/packet_capture.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | let packets = serde_json::to_string(&packets).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `ParsedPacket` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Result` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `&Vec>` [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.79/src/ser.rs:2225:17 [INFO] [stdout] | [INFO] [stdout] 2225 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serde_json::to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snoopy` due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "549b052b22d21adfd9339d26824d91692d4cf1162265b4182a4b6cee4c121764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549b052b22d21adfd9339d26824d91692d4cf1162265b4182a4b6cee4c121764", kill_on_drop: false }` [INFO] [stdout] 549b052b22d21adfd9339d26824d91692d4cf1162265b4182a4b6cee4c121764