[INFO] fetching crate snoopy 0.3.2... [INFO] checking snoopy-0.3.2 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate snoopy 0.3.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate snoopy 0.3.2 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", 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] 3c902cb274aa4ac467ff6886f0897014547da2c03d84fa9f94fa0a5e6c4bdbf1 [INFO] running `Command { std: "docker" "start" "-a" "3c902cb274aa4ac467ff6886f0897014547da2c03d84fa9f94fa0a5e6c4bdbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c902cb274aa4ac467ff6886f0897014547da2c03d84fa9f94fa0a5e6c4bdbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c902cb274aa4ac467ff6886f0897014547da2c03d84fa9f94fa0a5e6c4bdbf1", kill_on_drop: false }` [INFO] [stdout] 3c902cb274aa4ac467ff6886f0897014547da2c03d84fa9f94fa0a5e6c4bdbf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--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] 7f28e199c17db13e9b5989e03fd4bfeb986a541380553fa063448a9a096072e5 [INFO] running `Command { std: "docker" "start" "-a" "7f28e199c17db13e9b5989e03fd4bfeb986a541380553fa063448a9a096072e5", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling pcap v0.7.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking cookie-factory v0.2.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking rusticata-macros v1.1.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tls-parser v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling smol-potat-derive v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Checking pktparse v0.4.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling smol-potat v0.3.3 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling hwaddr v0.1.6 [INFO] [stderr] Checking 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib/packet_parse.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.59/src/ser.rs:2221:17 [INFO] [stdout] | [INFO] [stdout] 2221 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `serde_json::to_string` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `std::result::Result` [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>` [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `&Vec>` [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.59/src/ser.rs:2221:17 [INFO] [stdout] | [INFO] [stdout] 2221 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `serde_json::to_string` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `std::result::Result` [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `Vec>` [INFO] [stdout] = note: required because of the requirements on the impl of `Serialize` for `&Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f28e199c17db13e9b5989e03fd4bfeb986a541380553fa063448a9a096072e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f28e199c17db13e9b5989e03fd4bfeb986a541380553fa063448a9a096072e5", kill_on_drop: false }` [INFO] [stdout] 7f28e199c17db13e9b5989e03fd4bfeb986a541380553fa063448a9a096072e5