[INFO] cloning repository https://github.com/NadirFasola/nested_partitions_pyo3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NadirFasola/nested_partitions_pyo3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadirFasola%2Fnested_partitions_pyo3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadirFasola%2Fnested_partitions_pyo3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 506dda9e4a279b20fb0c075bb2b17edc12007730 [INFO] checking NadirFasola/nested_partitions_pyo3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadirFasola%2Fnested_partitions_pyo3" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NadirFasola/nested_partitions_pyo3 [INFO] finished tweaking git repo https://github.com/NadirFasola/nested_partitions_pyo3 [INFO] tweaked toml for git repo https://github.com/NadirFasola/nested_partitions_pyo3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NadirFasola/nested_partitions_pyo3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NadirFasola/nested_partitions_pyo3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1747f82d4242eabe2c98a3469f360944ef42bbcb3cc963a415a90cdb0f844fa [INFO] running `Command { std: "docker" "start" "-a" "b1747f82d4242eabe2c98a3469f360944ef42bbcb3cc963a415a90cdb0f844fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1747f82d4242eabe2c98a3469f360944ef42bbcb3cc963a415a90cdb0f844fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1747f82d4242eabe2c98a3469f360944ef42bbcb3cc963a415a90cdb0f844fa", kill_on_drop: false }` [INFO] [stdout] b1747f82d4242eabe2c98a3469f360944ef42bbcb3cc963a415a90cdb0f844fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3312e3902f0de47b8698a890a1c01e249b5fde0165be3f1c525cf5aa50a599ca [INFO] running `Command { std: "docker" "start" "-a" "3312e3902f0de47b8698a890a1c01e249b5fde0165be3f1c525cf5aa50a599ca", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking nested_partitions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `size`, `length`, `contains`, and `hs` are never used [INFO] [stdout] --> src/partitions/integer_partition/partition.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Partition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn contains(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn hs(&self) -> BTreeMap { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hilbert_samuel` is never used [INFO] [stdout] --> src/partitions/integer_partition/hilbert_samuel.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn hilbert_samuel(p: &Partition) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains` is never used [INFO] [stdout] --> src/partitions/integer_partition/contains.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains(p: &Partition, other: &Partition) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `jumps`, and `hs` are never used [INFO] [stdout] --> src/partitions/nested_partition/nested_partition.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NestedPartition { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn jumps(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn hs(&self) -> Vec> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_partitions(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/lib.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_nested_partitions(sizes: Vec) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn count_partitions(n: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | fn count_nested_partitions(sizes: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | fn count_nested_partitions_parallel(sizes: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nested_partitions` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `size`, `length`, `contains`, and `hs` are never used [INFO] [stdout] --> src/partitions/integer_partition/partition.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Partition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn contains(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn hs(&self) -> BTreeMap { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hilbert_samuel` is never used [INFO] [stdout] --> src/partitions/integer_partition/hilbert_samuel.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn hilbert_samuel(p: &Partition) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains` is never used [INFO] [stdout] --> src/partitions/integer_partition/contains.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains(p: &Partition, other: &Partition) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `jumps`, and `hs` are never used [INFO] [stdout] --> src/partitions/nested_partition/nested_partition.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NestedPartition { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn jumps(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn hs(&self) -> Vec> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn generate_partitions(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/lib.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate_nested_partitions(sizes: Vec) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn count_partitions(n: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | fn count_nested_partitions(sizes: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | fn count_nested_partitions_parallel(sizes: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nested_partitions` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3312e3902f0de47b8698a890a1c01e249b5fde0165be3f1c525cf5aa50a599ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3312e3902f0de47b8698a890a1c01e249b5fde0165be3f1c525cf5aa50a599ca", kill_on_drop: false }` [INFO] [stdout] 3312e3902f0de47b8698a890a1c01e249b5fde0165be3f1c525cf5aa50a599ca