[INFO] fetching crate nfqueue 0.9.1... [INFO] checking nfqueue-0.9.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate nfqueue 0.9.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate nfqueue 0.9.1 [INFO] finished tweaking crates.io crate nfqueue 0.9.1 [INFO] tweaked toml for crates.io crate nfqueue 0.9.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nfqueue 0.9.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding pnet v0.17.1 (available: v0.35.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded pnet_macros v0.15.0 [INFO] [stderr] Downloaded pnet v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57e3542aed596150b4e866ccc4d8c65296a6bcbf3b06a98704647e067cf7e103 [INFO] running `Command { std: "docker" "start" "-a" "57e3542aed596150b4e866ccc4d8c65296a6bcbf3b06a98704647e067cf7e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e3542aed596150b4e866ccc4d8c65296a6bcbf3b06a98704647e067cf7e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e3542aed596150b4e866ccc4d8c65296a6bcbf3b06a98704647e067cf7e103", kill_on_drop: false }` [INFO] [stdout] 57e3542aed596150b4e866ccc4d8c65296a6bcbf3b06a98704647e067cf7e103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aab098ddd0a658517cbbc044d9c56d449bcff4df88fda1d72afead5a5c83d1b [INFO] running `Command { std: "docker" "start" "-a" "5aab098ddd0a658517cbbc044d9c56d449bcff4df88fda1d72afead5a5c83d1b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking syntex_pos v0.42.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:253:45 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:253:61 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Checking nfqueue v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `encode` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:357:50 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct MultiByteChar { [INFO] [stdout] | ------------------------ doesn't satisfy `MultiByteChar: Encodable` [INFO] [stdout] ... [INFO] [stdout] 357 | (*self.multibyte_chars.borrow()).encode(s) [INFO] [stdout] | ^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MultiByteChar: Encodable` [INFO] [stdout] which is required by `Vec: Encodable` [INFO] [stdout] `MultiByteChar: Encodable` [INFO] [stdout] which is required by `[MultiByteChar]: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultiByteChar: Decodable` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:401:68 [INFO] [stdout] | [INFO] [stdout] 401 | try!(d.read_struct_field("multibyte_chars", 5, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `MultiByteChar` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 74 others [INFO] [stdout] = note: required for `Vec` to implement `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | const NFQ_XML_HW : u32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - const NFQ_XML_HW : u32 = (1 << 0); [INFO] [stdout] 66 + const NFQ_XML_HW : u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | const NFQ_XML_MARK : u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - const NFQ_XML_MARK : u32 = (1 << 1); [INFO] [stdout] 67 + const NFQ_XML_MARK : u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | const NFQ_XML_DEV : u32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - const NFQ_XML_DEV : u32 = (1 << 2); [INFO] [stdout] 68 + const NFQ_XML_DEV : u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | const NFQ_XML_PHYSDEV : u32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - const NFQ_XML_PHYSDEV : u32 = (1 << 3); [INFO] [stdout] 69 + const NFQ_XML_PHYSDEV : u32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | const NFQ_XML_PAYLOAD : u32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - const NFQ_XML_PAYLOAD : u32 = (1 << 4); [INFO] [stdout] 70 + const NFQ_XML_PAYLOAD : u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | const NFQ_XML_TIME : u32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - const NFQ_XML_TIME : u32 = (1 << 5); [INFO] [stdout] 71 + const NFQ_XML_TIME : u32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | const NFQ_XML_ALL : u32 = (!0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - const NFQ_XML_ALL : u32 = (!0u32); [INFO] [stdout] 72 + const NFQ_XML_ALL : u32 = !0u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pnet_base v0.35.0 [INFO] [stderr] error: could not compile `syntex_pos` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/message.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | _ => Ok( HwAddr::new(unsafe{&((*c_hw).hw_addr)[0..c_len]})), [INFO] [stdout] | ^^^----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const NfMsgPacketHw` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8; 8]` [INFO] [stdout] --> src/message.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | _ => Ok( HwAddr::new(unsafe{&((*c_hw).hw_addr)[0..c_len]})), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 218 | _ => Ok( HwAddr::new(unsafe{&(&((*c_hw).hw_addr))[0..c_len]})), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/message.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | let payload : &[u8] = unsafe { std::slice::from_raw_parts(c_ptr as *mut u8, payload_len as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/message.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let c_ptr = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nfqueue` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5aab098ddd0a658517cbbc044d9c56d449bcff4df88fda1d72afead5a5c83d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aab098ddd0a658517cbbc044d9c56d449bcff4df88fda1d72afead5a5c83d1b", kill_on_drop: false }` [INFO] [stdout] 5aab098ddd0a658517cbbc044d9c56d449bcff4df88fda1d72afead5a5c83d1b