[INFO] fetching crate nflog 0.9.0... [INFO] testing nflog-0.9.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nflog 0.9.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate nflog 0.9.0 [INFO] finished tweaking crates.io crate nflog 0.9.0 [INFO] tweaked toml for crates.io crate nflog 0.9.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nflog 0.9.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] 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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12f69f6fe9c7883a2491e98deb24838d55dd0c114cf96d4fbf369a9cb215462c [INFO] running `Command { std: "docker" "start" "-a" "12f69f6fe9c7883a2491e98deb24838d55dd0c114cf96d4fbf369a9cb215462c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12f69f6fe9c7883a2491e98deb24838d55dd0c114cf96d4fbf369a9cb215462c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f69f6fe9c7883a2491e98deb24838d55dd0c114cf96d4fbf369a9cb215462c", kill_on_drop: false }` [INFO] [stdout] 12f69f6fe9c7883a2491e98deb24838d55dd0c114cf96d4fbf369a9cb215462c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 21ec4d4cd41c6321c40fbf8beab2d7d67ea5ff896aaa396593abfe14d0eb2a91 [INFO] running `Command { std: "docker" "start" "-a" "21ec4d4cd41c6321c40fbf8beab2d7d67ea5ff896aaa396593abfe14d0eb2a91", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nflog v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/message.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | 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: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | const NFLOG_XML_PREFIX : 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] 55 - const NFLOG_XML_PREFIX : u32 = (1 << 0); [INFO] [stdout] 55 + const NFLOG_XML_PREFIX : u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | const NFLOG_XML_HW : u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - const NFLOG_XML_HW : u32 = (1 << 1); [INFO] [stdout] 56 + const NFLOG_XML_HW : u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | const NFLOG_XML_MARK : u32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - const NFLOG_XML_MARK : u32 = (1 << 2); [INFO] [stdout] 57 + const NFLOG_XML_MARK : u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | const NFLOG_XML_DEV : u32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - const NFLOG_XML_DEV : u32 = (1 << 3); [INFO] [stdout] 58 + const NFLOG_XML_DEV : u32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | const NFLOG_XML_PHYSDEV : u32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - const NFLOG_XML_PHYSDEV : u32 = (1 << 4); [INFO] [stdout] 59 + const NFLOG_XML_PHYSDEV : u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | const NFLOG_XML_PAYLOAD : u32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - const NFLOG_XML_PAYLOAD : u32 = (1 << 5); [INFO] [stdout] 60 + const NFLOG_XML_PAYLOAD : u32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | const NFLOG_XML_TIME : u32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - const NFLOG_XML_TIME : u32 = (1 << 6); [INFO] [stdout] 61 + const NFLOG_XML_TIME : u32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | const NFLOG_XML_ALL : u32 = (!0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - const NFLOG_XML_ALL : u32 = (!0u32); [INFO] [stdout] 62 + const NFLOG_XML_ALL : u32 = !0u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/message.rs:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | _ => Ok( HwAddr::new(unsafe{&((*c_hw).hw_addr)[1..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:199:42 [INFO] [stdout] | [INFO] [stdout] 199 | _ => Ok( HwAddr::new(unsafe{&((*c_hw).hw_addr)[1..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] 199 | _ => Ok( HwAddr::new(unsafe{&(&((*c_hw).hw_addr))[1..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:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | 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:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | 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 `nflog` (lib) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21ec4d4cd41c6321c40fbf8beab2d7d67ea5ff896aaa396593abfe14d0eb2a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ec4d4cd41c6321c40fbf8beab2d7d67ea5ff896aaa396593abfe14d0eb2a91", kill_on_drop: false }` [INFO] [stdout] 21ec4d4cd41c6321c40fbf8beab2d7d67ea5ff896aaa396593abfe14d0eb2a91