[INFO] fetching crate netsnmp-sys 0.1.1...
[INFO] testing netsnmp-sys-0.1.1 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate netsnmp-sys 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate netsnmp-sys 0.1.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 381f95b7cf62aec59953ae3a1259055a311e57e71dff65286d6680b1ce9023a8
[INFO] running `Command { std: "docker" "start" "-a" "381f95b7cf62aec59953ae3a1259055a311e57e71dff65286d6680b1ce9023a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "381f95b7cf62aec59953ae3a1259055a311e57e71dff65286d6680b1ce9023a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "381f95b7cf62aec59953ae3a1259055a311e57e71dff65286d6680b1ce9023a8", kill_on_drop: false }`
[INFO] [stdout] 381f95b7cf62aec59953ae3a1259055a311e57e71dff65286d6680b1ce9023a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41300775d89938a267850a76549faba01691ba6c2fb7f3dd23de26917c7e1fbe
[INFO] running `Command { std: "docker" "start" "-a" "41300775d89938a267850a76549faba01691ba6c2fb7f3dd23de26917c7e1fbe", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling netsnmp-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> build.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     for output in Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 4 |     while let Ok(output) = Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |     ~~~~~~~~~~~~~      ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if let Ok(output) = Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |     ~~~~~~~~~~      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> build.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |             for path in String::from_utf8(output.stdout) {
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 6 |             while let Ok(path) = String::from_utf8(output.stdout) {
[INFO] [stdout]   |             ~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 6 |             if let Ok(path) = String::from_utf8(output.stdout) {
[INFO] [stdout]   |             ~~~~~~~~~~    ~~~
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 31 + pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x0;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 32 + pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x1;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 33 + pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x2;
[INFO] [stdout]    |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 142 + pub const ASN_IPADDRESS:    raw::c_uchar = ASN_APPLICATION |  0;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 143 + pub const ASN_COUNTER:      raw::c_uchar = ASN_APPLICATION |  1;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 144 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 144 + pub const ASN_GAUGE:        raw::c_uchar = ASN_APPLICATION |  2;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 145 + pub const ASN_UNSIGNED:     raw::c_uchar = ASN_APPLICATION |  2; // RFC 1902 - same as GAUGE
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 146 + pub const ASN_TIMETICKS:    raw::c_uchar = ASN_APPLICATION |  3;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 147 + pub const ASN_OPAQUE:       raw::c_uchar = ASN_APPLICATION |  4; // changed so no conflict with other includes
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 148 + pub const ASN_NSAP:         raw::c_uchar = ASN_APPLICATION |  5; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 149 + pub const ASN_COUNTER64:    raw::c_uchar = ASN_APPLICATION |  6;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 150 + pub const ASN_UINTEGER:     raw::c_uchar = ASN_APPLICATION |  7; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 151 + pub const ASN_FLOAT:        raw::c_uchar = ASN_APPLICATION |  8;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 152 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 152 + pub const ASN_DOUBLE:       raw::c_uchar = ASN_APPLICATION |  9;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 153 + pub const ASN_INTEGER64:    raw::c_uchar = ASN_APPLICATION | 10;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 154 + pub const ASN_UNSIGNED64:   raw::c_uchar = ASN_APPLICATION | 11;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = Once::new();
[INFO] [stdout]     |                     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "41300775d89938a267850a76549faba01691ba6c2fb7f3dd23de26917c7e1fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41300775d89938a267850a76549faba01691ba6c2fb7f3dd23de26917c7e1fbe", kill_on_drop: false }`
[INFO] [stdout] 41300775d89938a267850a76549faba01691ba6c2fb7f3dd23de26917c7e1fbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3cbe766abdfd1f77bca15130efa10fef23523726a173d73681e0eb188a911bf
[INFO] running `Command { std: "docker" "start" "-a" "f3cbe766abdfd1f77bca15130efa10fef23523726a173d73681e0eb188a911bf", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> build.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     for output in Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 4 |     while let Ok(output) = Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |     ~~~~~~~~~~~~~      ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if let Ok(output) = Command::new("net-snmp-config").arg("--libdir").output() {
[INFO] [stdout]   |     ~~~~~~~~~~      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> build.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |             for path in String::from_utf8(output.stdout) {
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 6 |             while let Ok(path) = String::from_utf8(output.stdout) {
[INFO] [stdout]   |             ~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 6 |             if let Ok(path) = String::from_utf8(output.stdout) {
[INFO] [stdout]   |             ~~~~~~~~~~    ~~~
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 31 + pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x0;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 32 + pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x1;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 33 + pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x2;
[INFO] [stdout]    |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 142 + pub const ASN_IPADDRESS:    raw::c_uchar = ASN_APPLICATION |  0;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 143 + pub const ASN_COUNTER:      raw::c_uchar = ASN_APPLICATION |  1;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 144 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 144 + pub const ASN_GAUGE:        raw::c_uchar = ASN_APPLICATION |  2;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 145 + pub const ASN_UNSIGNED:     raw::c_uchar = ASN_APPLICATION |  2; // RFC 1902 - same as GAUGE
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 146 + pub const ASN_TIMETICKS:    raw::c_uchar = ASN_APPLICATION |  3;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 147 + pub const ASN_OPAQUE:       raw::c_uchar = ASN_APPLICATION |  4; // changed so no conflict with other includes
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 148 + pub const ASN_NSAP:         raw::c_uchar = ASN_APPLICATION |  5; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 149 + pub const ASN_COUNTER64:    raw::c_uchar = ASN_APPLICATION |  6;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 150 + pub const ASN_UINTEGER:     raw::c_uchar = ASN_APPLICATION |  7; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 151 + pub const ASN_FLOAT:        raw::c_uchar = ASN_APPLICATION |  8;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 152 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 152 + pub const ASN_DOUBLE:       raw::c_uchar = ASN_APPLICATION |  9;
[INFO] [stdout]     |
[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:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 153 + pub const ASN_INTEGER64:    raw::c_uchar = ASN_APPLICATION | 10;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 154 + pub const ASN_UNSIGNED64:   raw::c_uchar = ASN_APPLICATION | 11;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = Once::new();
[INFO] [stdout]     |                     ~~~~~~~~~~~
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 31 + pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x0;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 32 + pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x1;
[INFO] [stdout]    |
[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]    |                                                 ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 33 + pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = ASN_CONTEXT | ASN_PRIMITIVE | 0x2;
[INFO] [stdout]    |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 142 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 142 + pub const ASN_IPADDRESS:    raw::c_uchar = ASN_APPLICATION |  0;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 143 + pub const ASN_COUNTER:      raw::c_uchar = ASN_APPLICATION |  1;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 144 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 144 + pub const ASN_GAUGE:        raw::c_uchar = ASN_APPLICATION |  2;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 145 + pub const ASN_UNSIGNED:     raw::c_uchar = ASN_APPLICATION |  2; // RFC 1902 - same as GAUGE
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 146 + pub const ASN_TIMETICKS:    raw::c_uchar = ASN_APPLICATION |  3;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 147 + pub const ASN_OPAQUE:       raw::c_uchar = ASN_APPLICATION |  4; // changed so no conflict with other includes
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 148 + pub const ASN_NSAP:         raw::c_uchar = ASN_APPLICATION |  5; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 149 + pub const ASN_COUNTER64:    raw::c_uchar = ASN_APPLICATION |  6;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 150 + pub const ASN_UINTEGER:     raw::c_uchar = ASN_APPLICATION |  7; // historic - don't use
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 151 + pub const ASN_FLOAT:        raw::c_uchar = ASN_APPLICATION |  8;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 152 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 152 + pub const ASN_DOUBLE:       raw::c_uchar = ASN_APPLICATION |  9;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 153 + pub const ASN_INTEGER64:    raw::c_uchar = ASN_APPLICATION | 10;
[INFO] [stdout]     |
[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]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 154 + pub const ASN_UNSIGNED64:   raw::c_uchar = ASN_APPLICATION | 11;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 162 | static INIT: Once = Once::new();
[INFO] [stdout]     |                     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcqSgBLh/symbols.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-6ff4a7b7a5b3d71f.netsnmp_sys.1ef67d9cee3af7ec-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-6ff4a7b7a5b3d71f.5rfq13dzjymna9tamvmkflp35.rcgu.o" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lnetsnmp" "-lcrypto" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-a09fad3b5321e7d6.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-f9c3dff41ad42661.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-ad2aef31af6addd3.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-e3f907dc03deb913.rlib" "/opt/rustwide/target/debug/deps/liblibc-663f09ba3db1840e.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fb8c387236db3c10.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b251837809b2f64b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-cbef83eaa4e01f04.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-12a772286de2fca7.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-023bbe5ada7abfc3.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de2bcdf10ec69c2b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8e1754df350800fd.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-06c2ab7b9c32e037.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51d2621fc57a281b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-54a930408793772f.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0c7d01cba400dcb2.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b9f84d69e331b75b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-eec95493246aae39.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f6676c475e08ab0.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-fcf93d4842acd9a9.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0e6386368b0a24e8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/netsnmp_sys-6ff4a7b7a5b3d71f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lnetsnmp
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `netsnmp-sys` (lib test) due to 1 previous error; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f3cbe766abdfd1f77bca15130efa10fef23523726a173d73681e0eb188a911bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3cbe766abdfd1f77bca15130efa10fef23523726a173d73681e0eb188a911bf", kill_on_drop: false }`
[INFO] [stdout] f3cbe766abdfd1f77bca15130efa10fef23523726a173d73681e0eb188a911bf
