[INFO] crate netsnmp-sys 0.1.1 is already in cache [INFO] testing netsnmp-sys-0.1.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate netsnmp-sys 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate netsnmp-sys 0.1.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate netsnmp-sys 0.1.1 [INFO] finished tweaking crates.io crate netsnmp-sys 0.1.1 [INFO] tweaked toml for crates.io crate netsnmp-sys 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6dbbbb9151970cbf7254a8377b39f7d49340f6f33b658dd81e53ba54efe0a658 [INFO] running `Command { std: "docker" "start" "-a" "6dbbbb9151970cbf7254a8377b39f7d49340f6f33b658dd81e53ba54efe0a658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dbbbb9151970cbf7254a8377b39f7d49340f6f33b658dd81e53ba54efe0a658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbbbb9151970cbf7254a8377b39f7d49340f6f33b658dd81e53ba54efe0a658", kill_on_drop: false }` [INFO] [stdout] 6dbbbb9151970cbf7254a8377b39f7d49340f6f33b658dd81e53ba54efe0a658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51251b4e21eec0135bab248bebae0ff95cdd371d45da8eeb71739c83ba917aef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51251b4e21eec0135bab248bebae0ff95cdd371d45da8eeb71739c83ba917aef", kill_on_drop: false }` [INFO] [stderr] Compiling netsnmp-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "51251b4e21eec0135bab248bebae0ff95cdd371d45da8eeb71739c83ba917aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51251b4e21eec0135bab248bebae0ff95cdd371d45da8eeb71739c83ba917aef", kill_on_drop: false }` [INFO] [stdout] 51251b4e21eec0135bab248bebae0ff95cdd371d45da8eeb71739c83ba917aef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699d2e3681a00cfe72e5d4fe489e270e5d11d3786dd007dd4838c13ec20e9ca2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "699d2e3681a00cfe72e5d4fe489e270e5d11d3786dd007dd4838c13ec20e9ca2", kill_on_drop: false }` [INFO] [stderr] Compiling netsnmp-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SNMP_NOSUCHOBJECT: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SNMP_NOSUCHINSTANCE: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SNMP_ENDOFMIBVIEW: raw::c_uchar = (ASN_CONTEXT | ASN_PRIMITIVE | 0x2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | pub const ASN_IPADDRESS: raw::c_uchar = (ASN_APPLICATION | 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | pub const ASN_COUNTER: raw::c_uchar = (ASN_APPLICATION | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | pub const ASN_GAUGE: raw::c_uchar = (ASN_APPLICATION | 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | pub const ASN_UNSIGNED: raw::c_uchar = (ASN_APPLICATION | 2); // RFC 1902 - same as GAUGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | pub const ASN_TIMETICKS: raw::c_uchar = (ASN_APPLICATION | 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | pub const ASN_OPAQUE: raw::c_uchar = (ASN_APPLICATION | 4); // changed so no conflict with other includes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | pub const ASN_NSAP: raw::c_uchar = (ASN_APPLICATION | 5); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ASN_COUNTER64: raw::c_uchar = (ASN_APPLICATION | 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | pub const ASN_UINTEGER: raw::c_uchar = (ASN_APPLICATION | 7); // historic - don't use [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | pub const ASN_FLOAT: raw::c_uchar = (ASN_APPLICATION | 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | pub const ASN_DOUBLE: raw::c_uchar = (ASN_APPLICATION | 9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | pub const ASN_INTEGER64: raw::c_uchar = (ASN_APPLICATION | 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ASN_UNSIGNED64: raw::c_uchar = (ASN_APPLICATION | 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.netsnmp_sys.ah5gdiny-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1" "/opt/rustwide/target/debug/deps/netsnmp_sys-0d741a57327c53a1.39wt0wzuhp1anb4t.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lnetsnmp" "-lcrypto" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-12320b97c89568cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-700356192fffd298.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-b7642fe67be89b55.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-5281c8ee01ffdf7b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a4e3948fb2172e36.rlib" "/opt/rustwide/target/debug/deps/liblibc-1da13201d615d981.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lnetsnmp [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netsnmp-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "699d2e3681a00cfe72e5d4fe489e270e5d11d3786dd007dd4838c13ec20e9ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699d2e3681a00cfe72e5d4fe489e270e5d11d3786dd007dd4838c13ec20e9ca2", kill_on_drop: false }` [INFO] [stdout] 699d2e3681a00cfe72e5d4fe489e270e5d11d3786dd007dd4838c13ec20e9ca2