[INFO] fetching crate libnetfilter_queue 0.0.3... [INFO] checking libnetfilter_queue-0.0.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate libnetfilter_queue 0.0.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate libnetfilter_queue 0.0.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27a13289da8f23464c34fc2a95c986dcac61150ea7820b47d2f5c1bf7f0791dc [INFO] running `Command { std: "docker" "start" "-a" "27a13289da8f23464c34fc2a95c986dcac61150ea7820b47d2f5c1bf7f0791dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27a13289da8f23464c34fc2a95c986dcac61150ea7820b47d2f5c1bf7f0791dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a13289da8f23464c34fc2a95c986dcac61150ea7820b47d2f5c1bf7f0791dc", kill_on_drop: false }` [INFO] [stdout] 27a13289da8f23464c34fc2a95c986dcac61150ea7820b47d2f5c1bf7f0791dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 872345c02770fb3af724bb6853a6f8c8f0dfc0037108e2d6c072df5275325e08 [INFO] running `Command { std: "docker" "start" "-a" "872345c02770fb3af724bb6853a6f8c8f0dfc0037108e2d6c072df5275325e08", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | cause: Option>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Base` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Base` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Base` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Base` [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 issue #80165 [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: 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: 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] 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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libnetfilter_queue` due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "872345c02770fb3af724bb6853a6f8c8f0dfc0037108e2d6c072df5275325e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872345c02770fb3af724bb6853a6f8c8f0dfc0037108e2d6c072df5275325e08", kill_on_drop: false }` [INFO] [stdout] 872345c02770fb3af724bb6853a6f8c8f0dfc0037108e2d6c072df5275325e08