[INFO] fetching crate rsmnl-linux 0.1.0... [INFO] checking rsmnl-linux-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rsmnl-linux 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rsmnl-linux 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rsmnl-linux 0.1.0 [INFO] tweaked toml for crates.io crate rsmnl-linux 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsmnl-linux 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsmnl-linux 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsmnl-derive v0.1.0 [INFO] [stderr] Downloaded rsmnl v0.1.0 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4dce38fead147c4bfc0cc505f351e3e89b07e05b148aae205ebd629c164af6 [INFO] running `Command { std: "docker" "start" "-a" "ca4dce38fead147c4bfc0cc505f351e3e89b07e05b148aae205ebd629c164af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4dce38fead147c4bfc0cc505f351e3e89b07e05b148aae205ebd629c164af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4dce38fead147c4bfc0cc505f351e3e89b07e05b148aae205ebd629c164af6", kill_on_drop: false }` [INFO] [stdout] ca4dce38fead147c4bfc0cc505f351e3e89b07e05b148aae205ebd629c164af6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f49f982f544f76e4425a0f1b99de6cff3b46513f33bd9dabc38033d0147d156 [INFO] running `Command { std: "docker" "start" "-a" "7f49f982f544f76e4425a0f1b99de6cff3b46513f33bd9dabc38033d0147d156", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking rsmnl v0.1.0 [INFO] [stderr] Compiling rsmnl-derive v0.1.0 [INFO] [stderr] Checking rsmnl-linux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sport` and `dport` are never read [INFO] [stdout] --> src/rtnetlink.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 575 | pub struct _RtaSessionUnionPorts { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 576 | sport: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 577 | dport: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_RtaSessionUnionPorts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `itype`, `code`, and `ident` are never read [INFO] [stdout] --> src/rtnetlink.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 580 | pub struct _RtaSesseionUnionIcmpt { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 581 | itype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 582 | code: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 583 | ident: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_RtaSesseionUnionIcmpt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sport` and `dport` are never read [INFO] [stdout] --> src/rtnetlink.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 575 | pub struct _RtaSessionUnionPorts { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 576 | sport: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 577 | dport: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_RtaSessionUnionPorts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `itype`, `code`, and `ident` are never read [INFO] [stdout] --> src/rtnetlink.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 580 | pub struct _RtaSesseionUnionIcmpt { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 581 | itype: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 582 | code: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 583 | ident: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_RtaSesseionUnionIcmpt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-log.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-log.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-log.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-route-add.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-addr-dump.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-neigh-dump.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-neigh-dump.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut rt = nlv.put_extra_header::().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-link-set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nfct-daemon.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> examples/netfilter/nfct-create-batch.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | listener.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = listener.into_raw_fd(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/genl/genl-family-get.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-route-dump.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-queue.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-queue.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-queue.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nf-queue.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtnl/rtnl-link-dump.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/netfilter/nfct-dump.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut nlh = nlv.put_header(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.14s [INFO] running `Command { std: "docker" "inspect" "7f49f982f544f76e4425a0f1b99de6cff3b46513f33bd9dabc38033d0147d156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f49f982f544f76e4425a0f1b99de6cff3b46513f33bd9dabc38033d0147d156", kill_on_drop: false }` [INFO] [stdout] 7f49f982f544f76e4425a0f1b99de6cff3b46513f33bd9dabc38033d0147d156