[INFO] fetching crate pnet_datalink 0.26.0... [INFO] testing pnet_datalink-0.26.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate pnet_datalink 0.26.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pnet_datalink 0.26.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pnet_datalink 0.26.0 [INFO] finished tweaking crates.io crate pnet_datalink 0.26.0 [INFO] tweaked toml for crates.io crate pnet_datalink 0.26.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 70cf37cb35c927920aa8f679af51426f296ca1a7560b7bc21e64b84dd2d7473e [INFO] running `Command { std: "docker" "start" "-a" "70cf37cb35c927920aa8f679af51426f296ca1a7560b7bc21e64b84dd2d7473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70cf37cb35c927920aa8f679af51426f296ca1a7560b7bc21e64b84dd2d7473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cf37cb35c927920aa8f679af51426f296ca1a7560b7bc21e64b84dd2d7473e", kill_on_drop: false }` [INFO] [stdout] 70cf37cb35c927920aa8f679af51426f296ca1a7560b7bc21e64b84dd2d7473e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdf04b832b60a5982282e22304e0c2ff29990ddfa44eb58e979dd55d93b887bb [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" "bdf04b832b60a5982282e22304e0c2ff29990ddfa44eb58e979dd55d93b887bb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling pnet_base v0.26.0 [INFO] [stderr] Compiling pnet_sys v0.26.0 [INFO] [stderr] Compiling ipnetwork v0.16.0 [INFO] [stderr] Compiling pnet_datalink v0.26.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.43s [INFO] running `Command { std: "docker" "inspect" "bdf04b832b60a5982282e22304e0c2ff29990ddfa44eb58e979dd55d93b887bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf04b832b60a5982282e22304e0c2ff29990ddfa44eb58e979dd55d93b887bb", kill_on_drop: false }` [INFO] [stdout] bdf04b832b60a5982282e22304e0c2ff29990ddfa44eb58e979dd55d93b887bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22817af481a0b39b38b8fad4ea17c44f8d45486c9bb71da9a9cd82079be9a09a [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" "22817af481a0b39b38b8fad4ea17c44f8d45486c9bb71da9a9cd82079be9a09a", kill_on_drop: false }` [INFO] [stderr] Compiling pnet_datalink v0.26.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dummy.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn DataLinkSender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dummy.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DataLinkReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/unix_interfaces.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stdout] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "22817af481a0b39b38b8fad4ea17c44f8d45486c9bb71da9a9cd82079be9a09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22817af481a0b39b38b8fad4ea17c44f8d45486c9bb71da9a9cd82079be9a09a", kill_on_drop: false }` [INFO] [stdout] 22817af481a0b39b38b8fad4ea17c44f8d45486c9bb71da9a9cd82079be9a09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d3ea99ca1317b4a22aaa2cd6cad0fd9752ab6bdc16cf4dc98329307d9be4d70 [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" "4d3ea99ca1317b4a22aaa2cd6cad0fd9752ab6bdc16cf4dc98329307d9be4d70", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/unix_interfaces.rs:78:62 [INFO] [stderr] | [INFO] [stderr] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stderr] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/unix_interfaces.rs:78:62 [INFO] [stderr] | [INFO] [stderr] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stderr] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dummy.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn DataLinkSender` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dummy.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DataLinkReceiver` [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/unix_interfaces.rs:78:62 [INFO] [stderr] | [INFO] [stderr] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stderr] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/unix_interfaces.rs:78:62 [INFO] [stderr] | [INFO] [stderr] 78 | iface.index = libc::if_nametoindex(name.unwrap().as_ptr()); [INFO] [stderr] | ------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pnet_datalink-f1d3f5868ac4c315 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test dummy::tests::read_one_pkg ... ok [INFO] [stdout] test dummy::tests::read_multiple_pkgs ... ok [INFO] [stdout] test dummy::tests::send_nothing ... ok [INFO] [stdout] test dummy::tests::send_one_packet ... ok [INFO] [stdout] test dummy::tests::send_multiple_packets ... ok [INFO] [stdout] test dummy::tests::send_to ... ok [INFO] [stdout] test dummy::tests::read_nothing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests pnet_datalink [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Channel (line 82) ... ignored [INFO] [stdout] test src/lib.rs - interfaces (line 317) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d3ea99ca1317b4a22aaa2cd6cad0fd9752ab6bdc16cf4dc98329307d9be4d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3ea99ca1317b4a22aaa2cd6cad0fd9752ab6bdc16cf4dc98329307d9be4d70", kill_on_drop: false }` [INFO] [stdout] 4d3ea99ca1317b4a22aaa2cd6cad0fd9752ab6bdc16cf4dc98329307d9be4d70