[INFO] fetching crate netsnmp-sys 0.1.1... [INFO] checking netsnmp-sys-0.1.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate netsnmp-sys 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate netsnmp-sys 0.1.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc2161fdab562de38c9c9fca91892cc9ca61498aaa2cf5b9bae21f001aea5d8d [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" "dc2161fdab562de38c9c9fca91892cc9ca61498aaa2cf5b9bae21f001aea5d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc2161fdab562de38c9c9fca91892cc9ca61498aaa2cf5b9bae21f001aea5d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2161fdab562de38c9c9fca91892cc9ca61498aaa2cf5b9bae21f001aea5d8d", kill_on_drop: false }` [INFO] [stdout] dc2161fdab562de38c9c9fca91892cc9ca61498aaa2cf5b9bae21f001aea5d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df3fd3e8303ebc6507b6517bb401353b81752be3d3c082f9212bb9110251046f [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" "df3fd3e8303ebc6507b6517bb401353b81752be3d3c082f9212bb9110251046f", 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: 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 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:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "df3fd3e8303ebc6507b6517bb401353b81752be3d3c082f9212bb9110251046f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3fd3e8303ebc6507b6517bb401353b81752be3d3c082f9212bb9110251046f", kill_on_drop: false }` [INFO] [stdout] df3fd3e8303ebc6507b6517bb401353b81752be3d3c082f9212bb9110251046f