[INFO] fetching crate dahl-partition 0.5.2... [INFO] checking dahl-partition-0.5.2 against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] extracting crate dahl-partition 0.5.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate dahl-partition 0.5.2 on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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] cc79e8db9c43e303af4b1f7bf99f778e7bfe670f14f0a326ca4bae3c73adac14 [INFO] running `Command { std: "docker" "start" "-a" "cc79e8db9c43e303af4b1f7bf99f778e7bfe670f14f0a326ca4bae3c73adac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc79e8db9c43e303af4b1f7bf99f778e7bfe670f14f0a326ca4bae3c73adac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc79e8db9c43e303af4b1f7bf99f778e7bfe670f14f0a326ca4bae3c73adac14", kill_on_drop: false }` [INFO] [stdout] cc79e8db9c43e303af4b1f7bf99f778e7bfe670f14f0a326ca4bae3c73adac14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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] f0413d18df6edd63f50ac3bb1965459319a5f3f9f5eafa1cdda618ea88488e9a [INFO] running `Command { std: "docker" "start" "-a" "f0413d18df6edd63f50ac3bb1965459319a5f3f9f5eafa1cdda618ea88488e9a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking getrandom v0.2.3 [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 1.99s [INFO] running `Command { std: "docker" "inspect" "f0413d18df6edd63f50ac3bb1965459319a5f3f9f5eafa1cdda618ea88488e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0413d18df6edd63f50ac3bb1965459319a5f3f9f5eafa1cdda618ea88488e9a", kill_on_drop: false }` [INFO] [stdout] f0413d18df6edd63f50ac3bb1965459319a5f3f9f5eafa1cdda618ea88488e9a