[INFO] fetching crate dahl-partition 0.5.1... [INFO] checking dahl-partition-0.5.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate dahl-partition 0.5.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate dahl-partition 0.5.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dahl-partition 0.5.1 [INFO] finished tweaking crates.io crate dahl-partition 0.5.1 [INFO] tweaked toml for crates.io crate dahl-partition 0.5.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] bacb658c37360a58d5c2ee30ed9e626f1f1a6be2ccca88005a03405cd35b6540 [INFO] running `Command { std: "docker" "start" "-a" "bacb658c37360a58d5c2ee30ed9e626f1f1a6be2ccca88005a03405cd35b6540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bacb658c37360a58d5c2ee30ed9e626f1f1a6be2ccca88005a03405cd35b6540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bacb658c37360a58d5c2ee30ed9e626f1f1a6be2ccca88005a03405cd35b6540", kill_on_drop: false }` [INFO] [stdout] bacb658c37360a58d5c2ee30ed9e626f1f1a6be2ccca88005a03405cd35b6540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27ad42772476375c5034f323932172f5ab9eed27fc63c3eca29d6e26f2091028 [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" "27ad42772476375c5034f323932172f5ab9eed27fc63c3eca29d6e26f2091028", kill_on_drop: false }` [INFO] [stderr] Checking dahl-partition v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 583 | | "Attempt to allocate item {} when only {} are available.", [INFO] [stdout] 584 | | item_index, self.n_items [INFO] [stdout] 585 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 582 | panic!( [INFO] [stdout] 583 | "Attempt to allocate item {} when only {} are available.", [INFO] [stdout] 584 | item_index, self.n_items [INFO] [stdout] 585 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 592 | | "Attempt to allocate to subset {} when only {} are available.", [INFO] [stdout] 593 | | subset_index, [INFO] [stdout] 594 | | self.n_subsets() [INFO] [stdout] 595 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 591 | panic!( [INFO] [stdout] 592 | "Attempt to allocate to subset {} when only {} are available.", [INFO] [stdout] 593 | subset_index, [INFO] [stdout] 594 | self.n_subsets() [INFO] [stdout] 595 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | None => panic!(format!("Item {} is not allocated.", item_index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 602 | None => panic!("Item {} is not allocated.", item_index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:608:31 [INFO] [stdout] | [INFO] [stdout] 608 | Some(j) => panic!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 609 | | "Item {} is already allocated to subset {}.", [INFO] [stdout] 610 | | item_index, j [INFO] [stdout] 611 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 608 | Some(j) => panic!( [INFO] [stdout] 609 | "Item {} is already allocated to subset {}.", [INFO] [stdout] 610 | item_index, j [INFO] [stdout] 611 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:620:28 [INFO] [stdout] | [INFO] [stdout] 620 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 621 | | "Item {} is already allocated to subset {}.", [INFO] [stdout] 622 | | item_index, j [INFO] [stdout] 623 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 620 | panic!( [INFO] [stdout] 621 | "Item {} is already allocated to subset {}.", [INFO] [stdout] 622 | item_index, j [INFO] [stdout] 623 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:626:28 [INFO] [stdout] | [INFO] [stdout] 626 | None => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 627 | | "Item {} is not allocated to any subset.", [INFO] [stdout] 628 | | item_index [INFO] [stdout] 629 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 626 | None => panic!( [INFO] [stdout] 627 | "Item {} is not allocated to any subset.", [INFO] [stdout] 628 | item_index [INFO] [stdout] 629 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 583 | | "Attempt to allocate item {} when only {} are available.", [INFO] [stdout] 584 | | item_index, self.n_items [INFO] [stdout] 585 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 582 | panic!( [INFO] [stdout] 583 | "Attempt to allocate item {} when only {} are available.", [INFO] [stdout] 584 | item_index, self.n_items [INFO] [stdout] 585 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1306:13 [INFO] [stdout] | [INFO] [stdout] 1306 | / format!( [INFO] [stdout] 1307 | | "The holder has capacity {} so cannot push with index {}.", [INFO] [stdout] 1308 | | self.n_partitions, self.index [INFO] [stdout] 1309 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1306 | [INFO] [stdout] 1307 | "The holder has capacity {} so cannot push with index {}.", [INFO] [stdout] 1308 | self.n_partitions, self.index [INFO] [stdout] 1309 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 592 | | "Attempt to allocate to subset {} when only {} are available.", [INFO] [stdout] 593 | | subset_index, [INFO] [stdout] 594 | | self.n_subsets() [INFO] [stdout] 595 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 591 | panic!( [INFO] [stdout] 592 | "Attempt to allocate to subset {} when only {} are available.", [INFO] [stdout] 593 | subset_index, [INFO] [stdout] 594 | self.n_subsets() [INFO] [stdout] 595 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | None => panic!(format!("Item {} is not allocated.", item_index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 602 | None => panic!("Item {} is not allocated.", item_index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:608:31 [INFO] [stdout] | [INFO] [stdout] 608 | Some(j) => panic!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 609 | | "Item {} is already allocated to subset {}.", [INFO] [stdout] 610 | | item_index, j [INFO] [stdout] 611 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 608 | Some(j) => panic!( [INFO] [stdout] 609 | "Item {} is already allocated to subset {}.", [INFO] [stdout] 610 | item_index, j [INFO] [stdout] 611 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:620:28 [INFO] [stdout] | [INFO] [stdout] 620 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 621 | | "Item {} is already allocated to subset {}.", [INFO] [stdout] 622 | | item_index, j [INFO] [stdout] 623 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 620 | panic!( [INFO] [stdout] 621 | "Item {} is already allocated to subset {}.", [INFO] [stdout] 622 | item_index, j [INFO] [stdout] 623 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:626:28 [INFO] [stdout] | [INFO] [stdout] 626 | None => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 627 | | "Item {} is not allocated to any subset.", [INFO] [stdout] 628 | | item_index [INFO] [stdout] 629 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 626 | None => panic!( [INFO] [stdout] 627 | "Item {} is not allocated to any subset.", [INFO] [stdout] 628 | item_index [INFO] [stdout] 629 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1306:13 [INFO] [stdout] | [INFO] [stdout] 1306 | / format!( [INFO] [stdout] 1307 | | "The holder has capacity {} so cannot push with index {}.", [INFO] [stdout] 1308 | | self.n_partitions, self.index [INFO] [stdout] 1309 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1306 | [INFO] [stdout] 1307 | "The holder has capacity {} so cannot push with index {}.", [INFO] [stdout] 1308 | self.n_partitions, self.index [INFO] [stdout] 1309 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "27ad42772476375c5034f323932172f5ab9eed27fc63c3eca29d6e26f2091028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ad42772476375c5034f323932172f5ab9eed27fc63c3eca29d6e26f2091028", kill_on_drop: false }` [INFO] [stdout] 27ad42772476375c5034f323932172f5ab9eed27fc63c3eca29d6e26f2091028