[INFO] fetching crate dahl-partition 0.5.2... [INFO] checking dahl-partition-0.5.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate dahl-partition 0.5.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate dahl-partition 0.5.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dahl-partition 0.5.2 [INFO] finished tweaking crates.io crate dahl-partition 0.5.2 [INFO] tweaked toml for crates.io crate dahl-partition 0.5.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7483cb0c54ede029b86186817962e8722aef51d960b260f3cc36a49847f0822 [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" "e7483cb0c54ede029b86186817962e8722aef51d960b260f3cc36a49847f0822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7483cb0c54ede029b86186817962e8722aef51d960b260f3cc36a49847f0822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7483cb0c54ede029b86186817962e8722aef51d960b260f3cc36a49847f0822", kill_on_drop: false }` [INFO] [stdout] e7483cb0c54ede029b86186817962e8722aef51d960b260f3cc36a49847f0822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 069b4bd16f4689a78056c377ea3c45d97ee2122238002154b9d5abea69cf9b4a [INFO] running `Command { std: "docker" "start" "-a" "069b4bd16f4689a78056c377ea3c45d97ee2122238002154b9d5abea69cf9b4a", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking dahl-partition v0.5.2 (/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: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: 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: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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "069b4bd16f4689a78056c377ea3c45d97ee2122238002154b9d5abea69cf9b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069b4bd16f4689a78056c377ea3c45d97ee2122238002154b9d5abea69cf9b4a", kill_on_drop: false }` [INFO] [stdout] 069b4bd16f4689a78056c377ea3c45d97ee2122238002154b9d5abea69cf9b4a