[INFO] fetching crate ethox 0.0.2... [INFO] checking ethox-0.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ethox 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ethox 0.0.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethox 0.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ethox 0.0.2 [INFO] tweaked toml for crates.io crate ethox 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate ethox 0.0.2 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c386c356af2a8dc48503598c38a29c4e14b98a2255394c55cc3b1cd026e62b7 [INFO] running `Command { std: "docker" "start" "-a" "8c386c356af2a8dc48503598c38a29c4e14b98a2255394c55cc3b1cd026e62b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c386c356af2a8dc48503598c38a29c4e14b98a2255394c55cc3b1cd026e62b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c386c356af2a8dc48503598c38a29c4e14b98a2255394c55cc3b1cd026e62b7", kill_on_drop: false }` [INFO] [stdout] 8c386c356af2a8dc48503598c38a29c4e14b98a2255394c55cc3b1cd026e62b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6451278fa5b94361754bcb0580b373c23068f062360b3140853c11bd52c04b [INFO] running `Command { std: "docker" "start" "-a" "2e6451278fa5b94361754bcb0580b373c23068f062360b3140853c11bd52c04b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking ethox v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `proto-dhcpv4` [INFO] [stdout] --> src/wire/mod.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "proto-dhcpv4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `proto-dhcpv4` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./ipv4.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./icmpv4.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./udp.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./tcp.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/wire/./tcp.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1013 - (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] 1013 + self.flags.syn() | self.flags.fin() | self.flags.rst() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ethernet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / enum_with_unknown! { [INFO] [stdout] 9 | | /// Ethernet protocol type. [INFO] [stdout] 10 | | pub enum EtherType(u16) { [INFO] [stdout] 11 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] = note: this error originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / enum_with_unknown! { [INFO] [stdout] 12 | | /// ARP hardware type. [INFO] [stdout] 13 | | pub enum Hardware(u16) { [INFO] [stdout] 14 | | Ethernet = 1 [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / enum_with_unknown! { [INFO] [stdout] 19 | | /// ARP operation type. [INFO] [stdout] 20 | | pub enum Operation(u16) { [INFO] [stdout] 21 | | Request = 1, [INFO] [stdout] 22 | | Reply = 2 [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ip.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / enum_with_unknown! { [INFO] [stdout] 58 | | /// IP datagram encapsulated protocol. [INFO] [stdout] 59 | | pub enum Protocol(u8) { [INFO] [stdout] 60 | | HopByHop = 0x00, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ipv6.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / enum_with_unknown! { [INFO] [stdout] 32 | | /// IPv6 multicast scope. [INFO] [stdout] 33 | | pub enum Scope(u8) { [INFO] [stdout] 34 | | /// The address is valid for the interface alone. [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `silent_until` is never read [INFO] [stdout] --> src/layer/arp/neighbor.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Cache<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 108 | storage: Ordered<'a, Neighbor>, [INFO] [stdout] 109 | silent_until: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/layer/ip/packet.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn control(&self) -> &Controller<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/wire/payload.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | core::mem::replace(self, inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = core::mem::replace(self, inner); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ethox` (lib) due to 6 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2e6451278fa5b94361754bcb0580b373c23068f062360b3140853c11bd52c04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6451278fa5b94361754bcb0580b373c23068f062360b3140853c11bd52c04b", kill_on_drop: false }` [INFO] [stdout] 2e6451278fa5b94361754bcb0580b373c23068f062360b3140853c11bd52c04b