[INFO] fetching crate packet_rs 0.4.0... [INFO] checking packet_rs-0.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate packet_rs 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate packet_rs 0.4.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate packet_rs 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate packet_rs 0.4.0 [INFO] tweaked toml for crates.io crate packet_rs 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate packet_rs 0.4.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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.9.7 [INFO] [stderr] Downloaded quote v1.0.26 [INFO] [stderr] Downloaded pyo3-macros v0.16.6 [INFO] [stderr] Downloaded unicode-ident v1.0.8 [INFO] [stderr] Downloaded windows-targets v0.42.2 [INFO] [stderr] Downloaded pyo3-ffi v0.16.6 [INFO] [stderr] Downloaded paste v1.0.12 [INFO] [stderr] Downloaded smallvec v1.10.0 [INFO] [stderr] Downloaded target-lexicon v0.12.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.55 [INFO] [stderr] Downloaded lock_api v0.4.9 [INFO] [stderr] Downloaded pyo3-build-config v0.16.6 [INFO] [stderr] Downloaded once_cell v1.17.1 [INFO] [stderr] Downloaded pyo3 v0.16.6 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.2 [INFO] [stderr] Downloaded windows-sys v0.45.0 [INFO] [stderr] Downloaded pyo3_nullify v0.1.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.2 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.2 [INFO] [stderr] Downloaded libc v0.2.140 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2987561b84610dada8ca3c3146e1b63e175f8137329a8af4240633ef0af8978 [INFO] running `Command { std: "docker" "start" "-a" "d2987561b84610dada8ca3c3146e1b63e175f8137329a8af4240633ef0af8978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2987561b84610dada8ca3c3146e1b63e175f8137329a8af4240633ef0af8978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2987561b84610dada8ca3c3146e1b63e175f8137329a8af4240633ef0af8978", kill_on_drop: false }` [INFO] [stdout] d2987561b84610dada8ca3c3146e1b63e175f8137329a8af4240633ef0af8978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c768e007ea3713fce02c6c22b39026fd92228eca6886eebf1544afc6d8cabb9 [INFO] running `Command { std: "docker" "start" "-a" "9c768e007ea3713fce02c6c22b39026fd92228eca6886eebf1544afc6d8cabb9", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling pyo3_nullify v0.1.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking packet_rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: macro `FromPyObject` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: `#[warn(private_macro_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pyclass` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pymethods` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `new` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `getter` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `setter` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `FromPyObject` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: `#[warn(private_macro_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pyclass` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pymethods` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `new` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `getter` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `setter` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "9c768e007ea3713fce02c6c22b39026fd92228eca6886eebf1544afc6d8cabb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c768e007ea3713fce02c6c22b39026fd92228eca6886eebf1544afc6d8cabb9", kill_on_drop: false }` [INFO] [stdout] 9c768e007ea3713fce02c6c22b39026fd92228eca6886eebf1544afc6d8cabb9 [INFO] checking packet_rs-0.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate packet_rs 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate packet_rs 0.4.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate packet_rs 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate packet_rs 0.4.0 [INFO] tweaked toml for crates.io crate packet_rs 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate packet_rs 0.4.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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80732cf96ebf09976519e73252e4420dcfb8ca5fa19055c1c621a55c2099de53 [INFO] running `Command { std: "docker" "start" "-a" "80732cf96ebf09976519e73252e4420dcfb8ca5fa19055c1c621a55c2099de53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80732cf96ebf09976519e73252e4420dcfb8ca5fa19055c1c621a55c2099de53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80732cf96ebf09976519e73252e4420dcfb8ca5fa19055c1c621a55c2099de53", kill_on_drop: false }` [INFO] [stdout] 80732cf96ebf09976519e73252e4420dcfb8ca5fa19055c1c621a55c2099de53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96059ab0eddcfd35c56bf85aac35de6b3206ba51cb9986ce2972598bbf7f182 [INFO] running `Command { std: "docker" "start" "-a" "b96059ab0eddcfd35c56bf85aac35de6b3206ba51cb9986ce2972598bbf7f182", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling pyo3_nullify v0.1.0 [INFO] [stderr] Checking packet_rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: macro `FromPyObject` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: `#[warn(private_macro_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pyclass` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pymethods` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `new` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `getter` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `setter` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `FromPyObject` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: `#[warn(private_macro_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pyclass` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `pymethods` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `new` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `getter` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `setter` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: macro `staticmethod` is private [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #120192 [INFO] [stdout] = note: this warning originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> examples/pkt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / make_header!( [INFO] [stdout] 10 | | MyHeader 4 [INFO] [stdout] 11 | | ( [INFO] [stdout] 12 | | field_1: 0-2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | vec![0x0, 0xa, 0x8, 0x0] // <= optional default data [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packet_rs` (example "pkt") due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `custom_header_test` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / make_header!( [INFO] [stdout] 37 | | MyOwnHeader 10 [INFO] [stdout] 38 | | ( [INFO] [stdout] 39 | | bytes_1: 0-7, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ) [INFO] [stdout] 44 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `custom_header_test` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `make_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packet_rs` (test "lib") due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b96059ab0eddcfd35c56bf85aac35de6b3206ba51cb9986ce2972598bbf7f182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96059ab0eddcfd35c56bf85aac35de6b3206ba51cb9986ce2972598bbf7f182", kill_on_drop: false }` [INFO] [stdout] b96059ab0eddcfd35c56bf85aac35de6b3206ba51cb9986ce2972598bbf7f182