[INFO] fetching crate libnetfilter_queue 0.0.3... [INFO] testing libnetfilter_queue-0.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate libnetfilter_queue 0.0.3 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate libnetfilter_queue 0.0.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libnetfilter_queue 0.0.3 [INFO] finished tweaking crates.io crate libnetfilter_queue 0.0.3 [INFO] tweaked toml for crates.io crate libnetfilter_queue 0.0.3 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 305159ef8431243038bdf7276edfb91043f6428566383b1de0b0804dd312ea23 [INFO] running `Command { std: "docker" "start" "-a" "305159ef8431243038bdf7276edfb91043f6428566383b1de0b0804dd312ea23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "305159ef8431243038bdf7276edfb91043f6428566383b1de0b0804dd312ea23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "305159ef8431243038bdf7276edfb91043f6428566383b1de0b0804dd312ea23", kill_on_drop: false }` [INFO] [stdout] 305159ef8431243038bdf7276edfb91043f6428566383b1de0b0804dd312ea23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c9b690694ef9c1f542b215d718a5942fe45347849dbbfac6f79b20bfcf3204 [INFO] running `Command { std: "docker" "start" "-a" "49c9b690694ef9c1f542b215d718a5942fe45347849dbbfac6f79b20bfcf3204", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling libnetfilter_queue v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/ffi.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/ffi.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[link(name="linux/netfilter")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub const NF_DROP: c_int = 0; [INFO] [stdout] | ----------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lock.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | lazy_static! { pub static ref NFQ_LOCK: Mutex<()> = Mutex::new(()); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lock.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | lazy_static! { pub static ref NFQ_LOCK: Mutex<()> = Mutex::new(()); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `hide` [INFO] [stdout] --> src/queue.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc(hide)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [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 #82730 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | cause: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - cause: Option>, [INFO] [stdout] 23 + cause: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&Base> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn cause(&self) -> Option<&Base> { [INFO] [stdout] 45 + fn cause(&self) -> Option<&dyn Base> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::PrimInt` [INFO] [stdout] --> src/ffi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::traits::PrimInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::PrimInt` [INFO] [stdout] --> src/message.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num::traits::PrimInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libnetfilter_queue` due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "49c9b690694ef9c1f542b215d718a5942fe45347849dbbfac6f79b20bfcf3204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c9b690694ef9c1f542b215d718a5942fe45347849dbbfac6f79b20bfcf3204", kill_on_drop: false }` [INFO] [stdout] 49c9b690694ef9c1f542b215d718a5942fe45347849dbbfac6f79b20bfcf3204