[INFO] fetching crate netsnmp-sys-nocrypto 0.1.3...
[INFO] testing netsnmp-sys-nocrypto-0.1.3 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate netsnmp-sys-nocrypto 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate netsnmp-sys-nocrypto 0.1.3 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate netsnmp-sys-nocrypto 0.1.3
[INFO] finished tweaking crates.io crate netsnmp-sys-nocrypto 0.1.3
[INFO] tweaked toml for crates.io crate netsnmp-sys-nocrypto 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 19cb3e4dabb4b9b4068644e4cce6bd8d63dda0e5656f89aa898b75efa84cc640
[INFO] running `Command { std: "docker" "start" "-a" "19cb3e4dabb4b9b4068644e4cce6bd8d63dda0e5656f89aa898b75efa84cc640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19cb3e4dabb4b9b4068644e4cce6bd8d63dda0e5656f89aa898b75efa84cc640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19cb3e4dabb4b9b4068644e4cce6bd8d63dda0e5656f89aa898b75efa84cc640", kill_on_drop: false }`
[INFO] [stdout] 19cb3e4dabb4b9b4068644e4cce6bd8d63dda0e5656f89aa898b75efa84cc640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e07180b4c76644180db0923a4a9b768beaebcc92481e57226f7ff3473dd4f377
[INFO] running `Command { std: "docker" "start" "-a" "e07180b4c76644180db0923a4a9b768beaebcc92481e57226f7ff3473dd4f377", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling netsnmp-sys-nocrypto v0.1.3 (/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: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/lib.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 | 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] 38 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 38 + 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:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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] 39 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 39 + 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:40:49
[INFO] [stdout]    |
[INFO] [stdout] 40 | 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] 40 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 40 + 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:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 149 + 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:150:44
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 150 + 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:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 151 + 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:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 | 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] 152 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 152 + 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:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 153 + 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:154:44
[INFO] [stdout]     |
[INFO] [stdout] 154 | 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] 154 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 154 + 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:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | 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] 155 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 155 + 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:156:44
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 156 + 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:157:44
[INFO] [stdout]     |
[INFO] [stdout] 157 | 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] 157 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 157 + 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:158:44
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 158 + 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:159:44
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 159 + 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:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 160 + 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:161:44
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 161 + 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 `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 `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:251:22
[INFO] [stdout]     |
[INFO] [stdout] 251 |     static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 251 |     static INIT: Once = Once::new();
[INFO] [stdout]     |                         ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.31s
[INFO] running `Command { std: "docker" "inspect" "e07180b4c76644180db0923a4a9b768beaebcc92481e57226f7ff3473dd4f377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e07180b4c76644180db0923a4a9b768beaebcc92481e57226f7ff3473dd4f377", kill_on_drop: false }`
[INFO] [stdout] e07180b4c76644180db0923a4a9b768beaebcc92481e57226f7ff3473dd4f377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2a305591ba7eb4e38b3fac2a29d258922bcc3249f3f199f18a97e5dc574fcc6
[INFO] running `Command { std: "docker" "start" "-a" "d2a305591ba7eb4e38b3fac2a29d258922bcc3249f3f199f18a97e5dc574fcc6", kill_on_drop: false }`
[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: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/lib.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 | 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] 38 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 38 + 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:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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] 39 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 39 + 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:40:49
[INFO] [stdout]    |
[INFO] [stdout] 40 | 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] 40 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 40 + 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:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 149 + 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:150:44
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 150 + 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:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 151 + 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:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 | 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] 152 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 152 + 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:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 153 + 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:154:44
[INFO] [stdout]     |
[INFO] [stdout] 154 | 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] 154 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 154 + 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:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | 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] 155 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 155 + 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:156:44
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 156 + 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:157:44
[INFO] [stdout]     |
[INFO] [stdout] 157 | 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] 157 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 157 + 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:158:44
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 158 + 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:159:44
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 159 + 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:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 160 + 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:161:44
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 161 + 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 `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 `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:251:22
[INFO] [stdout]     |
[INFO] [stdout] 251 |     static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 251 |     static INIT: Once = Once::new();
[INFO] [stdout]     |                         ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling netsnmp-sys-nocrypto v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/lib.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 | 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] 38 - pub const SNMP_NOSUCHOBJECT:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0);
[INFO] [stdout] 38 + 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:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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] 39 - pub const SNMP_NOSUCHINSTANCE:   raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1);
[INFO] [stdout] 39 + 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:40:49
[INFO] [stdout]    |
[INFO] [stdout] 40 | 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] 40 - pub const SNMP_ENDOFMIBVIEW:     raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2);
[INFO] [stdout] 40 + 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:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 - pub const ASN_IPADDRESS:    raw::c_uchar = (ASN_APPLICATION |  0);
[INFO] [stdout] 149 + 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:150:44
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 - pub const ASN_COUNTER:      raw::c_uchar = (ASN_APPLICATION |  1);
[INFO] [stdout] 150 + 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:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub const ASN_GAUGE:        raw::c_uchar = (ASN_APPLICATION |  2);
[INFO] [stdout] 151 + 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:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 | 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] 152 - pub const ASN_UNSIGNED:     raw::c_uchar = (ASN_APPLICATION |  2); // RFC 1902 - same as GAUGE
[INFO] [stdout] 152 + 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:153:44
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 - pub const ASN_TIMETICKS:    raw::c_uchar = (ASN_APPLICATION |  3);
[INFO] [stdout] 153 + 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:154:44
[INFO] [stdout]     |
[INFO] [stdout] 154 | 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] 154 - pub const ASN_OPAQUE:       raw::c_uchar = (ASN_APPLICATION |  4); // changed so no conflict with other includes
[INFO] [stdout] 154 + 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:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | 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] 155 - pub const ASN_NSAP:         raw::c_uchar = (ASN_APPLICATION |  5); // historic - don't use
[INFO] [stdout] 155 + 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:156:44
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 - pub const ASN_COUNTER64:    raw::c_uchar = (ASN_APPLICATION |  6);
[INFO] [stdout] 156 + 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:157:44
[INFO] [stdout]     |
[INFO] [stdout] 157 | 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] 157 - pub const ASN_UINTEGER:     raw::c_uchar = (ASN_APPLICATION |  7); // historic - don't use
[INFO] [stdout] 157 + 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:158:44
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 - pub const ASN_FLOAT:        raw::c_uchar = (ASN_APPLICATION |  8);
[INFO] [stdout] 158 + 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:159:44
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 - pub const ASN_DOUBLE:       raw::c_uchar = (ASN_APPLICATION |  9);
[INFO] [stdout] 159 + 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:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 - pub const ASN_INTEGER64:    raw::c_uchar = (ASN_APPLICATION | 10);
[INFO] [stdout] 160 + 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:161:44
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout]     |                                            ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 - pub const ASN_UNSIGNED64:   raw::c_uchar = (ASN_APPLICATION | 11);
[INFO] [stdout] 161 + 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 `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 `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:251:22
[INFO] [stdout]     |
[INFO] [stdout] 251 |     static INIT: Once = ONCE_INIT;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 251 |     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/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcPUhrKH/symbols.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.netsnmp_sys_nocrypto.b79b33f2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a.4zrxm4k5ah1n76nf.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lnetsnmp" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-2bcc87e061734fce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-4c2368e8367904c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-06b9dcb8e6d4191c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-23a78788aee51060.rlib" "/opt/rustwide/target/debug/deps/liblibc-437468c9c78eaf61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0e29cc23c5e02021.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d903621768a861d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6d0225e655f31c13.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-9dbaf4eac7eaa079.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-27f05b3d42a66dd0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4d73f1030321c9a2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2846c9e58abd0acb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a53d0f50415947be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d48e4b6abc25b9dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2991859439ef1207.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8a687517e4221bae.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-e07b554f6a67f5b3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b68238b7c3c619dd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d5e213e896c017e4.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0211a3b2e61d8689.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b371f055239ba51f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e60518d2760eb01e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1ad943f92a4b1081.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f0d6e4d0fc1e80b4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/netsnmp_sys_nocrypto-8d602c18e933432a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lnetsnmp: No such file or directory
[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-nocrypto` (lib test) due to 2 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d2a305591ba7eb4e38b3fac2a29d258922bcc3249f3f199f18a97e5dc574fcc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2a305591ba7eb4e38b3fac2a29d258922bcc3249f3f199f18a97e5dc574fcc6", kill_on_drop: false }`
[INFO] [stdout] d2a305591ba7eb4e38b3fac2a29d258922bcc3249f3f199f18a97e5dc574fcc6
