[INFO] fetching crate hwloc 0.5.0... [INFO] linting hwloc-0.5.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate hwloc 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hwloc 0.5.0 [INFO] finished tweaking crates.io crate hwloc 0.5.0 [INFO] tweaked toml for crates.io crate hwloc 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hwloc 0.5.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.11.0) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.14) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded errno-dragonfly v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3e72b63fca9e98d727f5d4b3a08ea597f0b2c65d5072ffaa1412f9df23fa1b1 [INFO] running `Command { std: "docker" "start" "-a" "c3e72b63fca9e98d727f5d4b3a08ea597f0b2c65d5072ffaa1412f9df23fa1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3e72b63fca9e98d727f5d4b3a08ea597f0b2c65d5072ffaa1412f9df23fa1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e72b63fca9e98d727f5d4b3a08ea597f0b2c65d5072ffaa1412f9df23fa1b1", kill_on_drop: false }` [INFO] [stdout] c3e72b63fca9e98d727f5d4b3a08ea597f0b2c65d5072ffaa1412f9df23fa1b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e087e9dfd471fef01d5cae0f2037cd9417f1378fb1dd8611d0304cd07302e60a [INFO] running `Command { std: "docker" "start" "-a" "e087e9dfd471fef01d5cae0f2037cd9417f1378fb1dd8611d0304cd07302e60a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling hwloc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> build.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | return; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 5 - if probed.is_ok() { [INFO] [stdout] 6 - return; [INFO] [stdout] 5 + if probed.is_ok() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.43 [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | //! let topo = Topology::new(); [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | //! for i in 0..topo.depth() { [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | //! println!("*** Objects at level {}", i); [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | //! for (idx, object) in topo.objects_at_depth(i).iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | //! println!("{}: {}", idx, object); [INFO] [stdout] | ^^^^^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | //! } [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | //! } [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | manage: manage, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `manage` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | topo: topo, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `topo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | support: support, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `support` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | topo: topo, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `topo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | support: support, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `support` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | //! let topo = Topology::new(); [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | //! for i in 0..topo.depth() { [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | //! println!("*** Objects at level {}", i); [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | //! for (idx, object) in topo.objects_at_depth(i).iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | //! println!("{}: {}", idx, object); [INFO] [stdout] | ^^^^^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | //! } [INFO] [stdout] | ^^^^^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using tabs in doc comments is not recommended [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | //! } [INFO] [stdout] | ^^^^ help: consider using four spaces per tab [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | bitmap: bitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bitmap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/bitmap.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | manage: manage, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `manage` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | topo: topo, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `topo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | support: support, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `support` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | topo: topo, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `topo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | support: support, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `support` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> src/ffi.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | c if c == 0 => Some(Ordering::Equal), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 92 - c if c == 0 => Some(Ordering::Equal), [INFO] [stdout] 92 + 0 => Some(Ordering::Equal), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match self.partial_cmp(other) { [INFO] [stdout] 102 | | Some(Ordering::Equal) => true, [INFO] [stdout] 103 | | _ => false, [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 101 - match self.partial_cmp(other) { [INFO] [stdout] 102 - Some(Ordering::Equal) => true, [INFO] [stdout] 103 - _ => false, [INFO] [stdout] 104 - } [INFO] [stdout] 101 + matches!(self.partial_cmp(other), Some(Ordering::Equal)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/topology_object.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 271 | ffi::hwloc_obj_type_snprintf(type_str_ptr, 64, &*self as *const TopologyObject, false); [INFO] [stdout] | ^^^^^^ help: if you would like to reborrow, try removing `&*`: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/topology_object.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | ... &*self as *const TopologyObject, [INFO] [stdout] | ^^^^^^ help: if you would like to reborrow, try removing `&*`: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PCI` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | PCI = 1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Pci` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GPU` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | GPU = 1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Gpu` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `DMA` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | DMA = 4, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Dma` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `COPROC` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | COPROC = 5, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Coproc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bitmap.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | !(result == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `(result != 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bitmap.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | !(result == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `(result != 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ffi::CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = CString::from_raw(separator_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> src/ffi.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | c if c == 0 => Some(Ordering::Equal), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 92 - c if c == 0 => Some(Ordering::Equal), [INFO] [stdout] 92 + 0 => Some(Ordering::Equal), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match self.partial_cmp(other) { [INFO] [stdout] 102 | | Some(Ordering::Equal) => true, [INFO] [stdout] 103 | | _ => false, [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 101 - match self.partial_cmp(other) { [INFO] [stdout] 102 - Some(Ordering::Equal) => true, [INFO] [stdout] 103 - _ => false, [INFO] [stdout] 104 - } [INFO] [stdout] 101 + matches!(self.partial_cmp(other), Some(Ordering::Equal)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/topology_object.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 271 | ffi::hwloc_obj_type_snprintf(type_str_ptr, 64, &*self as *const TopologyObject, false); [INFO] [stdout] | ^^^^^^ help: if you would like to reborrow, try removing `&*`: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/topology_object.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | ... &*self as *const TopologyObject, [INFO] [stdout] | ^^^^^^ help: if you would like to reborrow, try removing `&*`: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PCI` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | PCI = 1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Pci` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GPU` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | GPU = 1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Gpu` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `DMA` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | DMA = 4, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Dma` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `COPROC` contains a capitalized acronym [INFO] [stdout] --> src/topology_object.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | COPROC = 5, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Coproc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bitmap.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | !(result == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `(result != 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bitmap.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | !(result == 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `(result != 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> examples/bind_threads.rs:49:51 [INFO] [stdout] | [INFO] [stdout] 49 | let mut bind_to = cpuset_for_core(&*locked_topo, i); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `&locked_topo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `str::repeat` using iterators [INFO] [stdout] --> examples/walk_tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let padding = std::iter::repeat(" ").take(depth).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `" ".repeat(depth)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_str_repeat [INFO] [stdout] = note: `#[warn(clippy::manual_str_repeat)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `repeat().take()` can be written more concisely [INFO] [stdout] --> examples/walk_tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let padding = std::iter::repeat(" ").take(depth).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `repeat_n()` instead: `std::iter::repeat_n(" ", depth)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_repeat_n [INFO] [stdout] = note: `#[warn(clippy::manual_repeat_n)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: parameter is only used in recursion [INFO] [stdout] --> examples/walk_tree.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn print_children(topo: &Topology, obj: &TopologyObject, depth: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_topo` [INFO] [stdout] | [INFO] [stdout] note: parameter used here [INFO] [stdout] --> examples/walk_tree.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | print_children(topo, obj.children()[i as usize], depth + 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#only_used_in_recursion [INFO] [stdout] = note: `#[warn(clippy::only_used_in_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ffi::CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = CString::from_raw(separator_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e087e9dfd471fef01d5cae0f2037cd9417f1378fb1dd8611d0304cd07302e60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e087e9dfd471fef01d5cae0f2037cd9417f1378fb1dd8611d0304cd07302e60a", kill_on_drop: false }` [INFO] [stdout] e087e9dfd471fef01d5cae0f2037cd9417f1378fb1dd8611d0304cd07302e60a