[INFO] fetching crate pcap 2.2.0... [INFO] checking pcap-2.2.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate pcap 2.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pcap 2.2.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcap 2.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pcap 2.2.0 [INFO] tweaked toml for crates.io crate pcap 2.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate pcap 2.2.0 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6723e136f7206357a118d3ef6f87c88e15e02dab5a31fc9fa0f20086e12ee859 [INFO] running `Command { std: "docker" "start" "-a" "6723e136f7206357a118d3ef6f87c88e15e02dab5a31fc9fa0f20086e12ee859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6723e136f7206357a118d3ef6f87c88e15e02dab5a31fc9fa0f20086e12ee859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6723e136f7206357a118d3ef6f87c88e15e02dab5a31fc9fa0f20086e12ee859", kill_on_drop: false }` [INFO] [stdout] 6723e136f7206357a118d3ef6f87c88e15e02dab5a31fc9fa0f20086e12ee859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72e7cd893e5cbe3ed85d636e7ee6a9e2ff7d0f756775a47562291a8350cdc32c [INFO] running `Command { std: "docker" "start" "-a" "72e7cd893e5cbe3ed85d636e7ee6a9e2ff7d0f756775a47562291a8350cdc32c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking predicates-core v1.0.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking etherparse v0.13.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling tun-tap v0.1.4 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling pcap v2.2.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/raw.rs (7 fixes) [INFO] [stderr] Fixed src/capture/activated/mod.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/device.rs (4 fixes) [INFO] [stderr] Fixed src/capture/activated/offline.rs (2 fixes) [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Migrating examples/easylisten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/listenlocalhost.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/stdin.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/savemultiplefiles.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tap_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/lib.rs (1 fix) [INFO] [stderr] Migrating examples/loop.rs from 2021 edition to 2024 [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/raw.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg_attr(test, automock)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Unsupported item. More information may be available when mockall is built with the "nightly" feature. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/raw.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg_attr(test, automock)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Unsupported item. More information may be available when mockall is built with the "nightly" feature. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::raw::mock_ffi` [INFO] [stdout] --> src/capture/activated/active.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | mock_ffi::*, [INFO] [stdout] | ^^^^^^^^ could not find `mock_ffi` in `raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mock_ffi` [INFO] [stdout] --> src/raw.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | pub use mock_ffi::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `mock_ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mock_ffi_unix` [INFO] [stdout] --> src/raw.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | pub use mock_ffi_unix::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `mock_ffi_unix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/device.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | Sockaddr::SockaddrIn(ref mut sin) => sin as *mut _ as _, [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/device.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | Sockaddr::SockaddrIn6(ref mut sin6) => sin6 as *mut _ as _, [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/device.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | Sockaddr::SockaddrIn(ref mut sin) => sin.sin_family = family, [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/device.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | Sockaddr::SockaddrIn6(ref mut sin6) => sin6.sin6_family = family, [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcap` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating examples/getdevices.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/iterprint.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/savefile.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sendqueue.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/nfbpfcompile.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/getstatistics.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "72e7cd893e5cbe3ed85d636e7ee6a9e2ff7d0f756775a47562291a8350cdc32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e7cd893e5cbe3ed85d636e7ee6a9e2ff7d0f756775a47562291a8350cdc32c", kill_on_drop: false }` [INFO] [stdout] 72e7cd893e5cbe3ed85d636e7ee6a9e2ff7d0f756775a47562291a8350cdc32c