[INFO] crate netsnmp-sys 0.1.1 is already in cache [INFO] testing netsnmp-sys-0.1.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate netsnmp-sys 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate netsnmp-sys 0.1.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate netsnmp-sys 0.1.1 [INFO] finished tweaking crates.io crate netsnmp-sys 0.1.1 [INFO] tweaked toml for crates.io crate netsnmp-sys 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 767a65c8254cb393f7e0fc117db8d37d83e467a47e92d7446e1d269b1fa80a23 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "767a65c8254cb393f7e0fc117db8d37d83e467a47e92d7446e1d269b1fa80a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "767a65c8254cb393f7e0fc117db8d37d83e467a47e92d7446e1d269b1fa80a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767a65c8254cb393f7e0fc117db8d37d83e467a47e92d7446e1d269b1fa80a23", kill_on_drop: false }` [INFO] [stdout] 767a65c8254cb393f7e0fc117db8d37d83e467a47e92d7446e1d269b1fa80a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b5ded4187bd3b1ddcf28f421611fcd02ba4721ba08e8f6f6c0868118d966318 [INFO] running `Command { std: "docker" "start" "-a" "7b5ded4187bd3b1ddcf28f421611fcd02ba4721ba08e8f6f6c0868118d966318", kill_on_drop: false }` [INFO] [stderr] Compiling netsnmp-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "7b5ded4187bd3b1ddcf28f421611fcd02ba4721ba08e8f6f6c0868118d966318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5ded4187bd3b1ddcf28f421611fcd02ba4721ba08e8f6f6c0868118d966318", kill_on_drop: false }` [INFO] [stdout] 7b5ded4187bd3b1ddcf28f421611fcd02ba4721ba08e8f6f6c0868118d966318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eab124e2f4ac1be16e54e358fbdd95040ed569bcf8807faffdd7a0bf4568bf7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eab124e2f4ac1be16e54e358fbdd95040ed569bcf8807faffdd7a0bf4568bf7f", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling netsnmp-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.netsnmp_sys.30rn5voz-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e" "/opt/rustwide/target/debug/deps/netsnmp_sys-e6b8fe4ebed2982e.3qzqmg9bfittrefg.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lnetsnmp" "-lcrypto" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6805c615af620a51.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-975e251edec7895a.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fa89c22811cbba70.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-8e79a065fef863f3.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a68d66da01a6ed2b.rlib" "/opt/rustwide/target/debug/deps/liblibc-e834449672905d13.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lnetsnmp [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netsnmp-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "eab124e2f4ac1be16e54e358fbdd95040ed569bcf8807faffdd7a0bf4568bf7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab124e2f4ac1be16e54e358fbdd95040ed569bcf8807faffdd7a0bf4568bf7f", kill_on_drop: false }` [INFO] [stdout] eab124e2f4ac1be16e54e358fbdd95040ed569bcf8807faffdd7a0bf4568bf7f