[INFO] fetching crate libnetfilter_queue 0.0.3...
[INFO] checking libnetfilter_queue-0.0.3 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate libnetfilter_queue 0.0.3 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate libnetfilter_queue 0.0.3 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded num-rational v0.1.42
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded num-bigint v0.1.44
[INFO] [stderr]   Downloaded num-complex v0.1.43
[INFO] [stderr]   Downloaded num-iter v0.1.44
[INFO] [stderr]   Downloaded libc v0.1.12
[INFO] [stderr]   Downloaded num v0.1.42
[INFO] [stderr]   Downloaded lazy_static v0.1.16
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0abc196e13598c20378a0b38fd710fad0f339b9e2ba92df35aedd6eb4092383
[INFO] running `Command { std: "docker" "start" "-a" "a0abc196e13598c20378a0b38fd710fad0f339b9e2ba92df35aedd6eb4092383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0abc196e13598c20378a0b38fd710fad0f339b9e2ba92df35aedd6eb4092383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0abc196e13598c20378a0b38fd710fad0f339b9e2ba92df35aedd6eb4092383", kill_on_drop: false }`
[INFO] [stdout] a0abc196e13598c20378a0b38fd710fad0f339b9e2ba92df35aedd6eb4092383
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7606e09011d1156b3f5bafe643deb215b56debd973f671d6de9f7f7746b5c1aa
[INFO] running `Command { std: "docker" "start" "-a" "7606e09011d1156b3f5bafe643deb215b56debd973f671d6de9f7f7746b5c1aa", 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 num-traits v0.2.18
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking lazy_static v0.1.16
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking 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] 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 with non-Rust ABI
[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]   = 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: `#[warn(unused_attributes)]` on by default
[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] error: 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: `#[deny(invalid_doc_attributes)]` on by default
[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<Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     cause: Option<Box<dyn Base>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn cause(&self) -> Option<&dyn Base> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI
[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]   = 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: `#[warn(unused_attributes)]` on by default
[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] error: 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: `#[deny(invalid_doc_attributes)]` on by default
[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<Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     cause: Option<Box<dyn Base>>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[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[E0133]: use of extern static is unsafe and requires unsafe function or block
[INFO] [stdout]   --> src/error.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let errno = nfq_errno;
[INFO] [stdout]    |                 ^^^^^^^^^ use of extern static
[INFO] [stdout]    |
[INFO] [stdout]    = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[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] [stderr] error: could not compile `libnetfilter_queue` (lib) due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block
[INFO] [stdout]   --> src/error.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let errno = nfq_errno;
[INFO] [stdout]    |                 ^^^^^^^^^ use of extern static
[INFO] [stdout]    |
[INFO] [stdout]    = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libnetfilter_queue` (lib test) due to 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7606e09011d1156b3f5bafe643deb215b56debd973f671d6de9f7f7746b5c1aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7606e09011d1156b3f5bafe643deb215b56debd973f671d6de9f7f7746b5c1aa", kill_on_drop: false }`
[INFO] [stdout] 7606e09011d1156b3f5bafe643deb215b56debd973f671d6de9f7f7746b5c1aa
