[INFO] fetching crate alexcrichton-cranelift-codegen-meta 0.53.0... [INFO] checking alexcrichton-cranelift-codegen-meta-0.53.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate alexcrichton-cranelift-codegen-meta 0.53.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate alexcrichton-cranelift-codegen-meta 0.53.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate alexcrichton-cranelift-codegen-meta 0.53.0 [INFO] finished tweaking crates.io crate alexcrichton-cranelift-codegen-meta 0.53.0 [INFO] tweaked toml for crates.io crate alexcrichton-cranelift-codegen-meta 0.53.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a224c38cc8bd4e875b6121db387320e760947530e5efe72d9adf3b0ebf13c450 [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" "a224c38cc8bd4e875b6121db387320e760947530e5efe72d9adf3b0ebf13c450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a224c38cc8bd4e875b6121db387320e760947530e5efe72d9adf3b0ebf13c450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a224c38cc8bd4e875b6121db387320e760947530e5efe72d9adf3b0ebf13c450", kill_on_drop: false }` [INFO] [stdout] a224c38cc8bd4e875b6121db387320e760947530e5efe72d9adf3b0ebf13c450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 38f233294ac2160a5f449031cd367f2a9b3d1366abc04f64c7d659a09a3e5117 [INFO] running `Command { std: "docker" "start" "-a" "38f233294ac2160a5f449031cd367f2a9b3d1366abc04f64c7d659a09a3e5117", kill_on_drop: false }` [INFO] [stderr] Checking alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/ast.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | format!("redefinition of variable {}", self.name) [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] 299 | "redefinition of variable {}", self.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/ast.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | format!("incorrect number of arguments in instruction {}", inst.name) [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] 464 | "incorrect number of arguments in instruction {}", inst.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/encodings.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / format!( [INFO] [stdout] 157 | | "Inst {} and recipe {} must have the same format!", [INFO] [stdout] 158 | | inst.name, recipes[self.recipe].name [INFO] [stdout] 159 | | ) [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] 156 | [INFO] [stdout] 157 | "Inst {} and recipe {} must have the same format!", [INFO] [stdout] 158 | inst.name, recipes[self.recipe].name [INFO] [stdout] 159 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/instructions.rs:387:43 [INFO] [stdout] | [INFO] [stdout] 387 | ValueTypeOrAny::Any => panic!(format!("Unexpected Any: {}", msg)), [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] 387 | ValueTypeOrAny::Any => panic!("Unexpected Any: {}", msg), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/instructions.rs:658:33 [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!("{}", msg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => std::panic::panic_any(msg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/recipes.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | / format!( [INFO] [stdout] 264 | | "missing operand constraints for recipe {} (format {})", [INFO] [stdout] 265 | | self.name, self.format.name [INFO] [stdout] 266 | | ) [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] 263 | [INFO] [stdout] 264 | "missing operand constraints for recipe {} (format {})", [INFO] [stdout] 265 | self.name, self.format.name [INFO] [stdout] 266 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/type_inference.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | format!("variable {} should be explicitly ranked", actual_tv.name) [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] 213 | "variable {} should be explicitly ranked", actual_tv.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | format!("'{:?}' used as both input and def", var_pool.get(var_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] 77 | "'{:?}' used as both input and def", var_pool.get(var_index) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / format!( [INFO] [stdout] 83 | | "extra input vars in dst pattern: {:?}", [INFO] [stdout] 84 | | input_vars [INFO] [stdout] 85 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 88 | | .collect::>() [INFO] [stdout] 89 | | ) [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] 82 | [INFO] [stdout] 83 | "extra input vars in dst pattern: {:?}", [INFO] [stdout] 84 | input_vars [INFO] [stdout] 85 | .iter() [INFO] [stdout] 86 | .map(|&i| var_pool.get(i)) [INFO] [stdout] 87 | .skip(num_src_inputs) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | format!("{:?} not defined in the destination pattern", defined_var) [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] 146 | "{:?} not defined in the destination pattern", defined_var [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | format!("{:?} used as both input and def", var) [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] 229 | "{:?} used as both input and def", var [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | / format!( [INFO] [stdout] 404 | | "custom legalization action for {} inserted twice", [INFO] [stdout] 405 | | inst.name [INFO] [stdout] 406 | | ) [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] 403 | [INFO] [stdout] 404 | "custom legalization action for {} inserted twice", [INFO] [stdout] 405 | inst.name [INFO] [stdout] 406 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | format!("trying to insert {} for the second time", new_group.name) [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] 445 | "trying to insert {} for the second time", new_group.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | panic!(format!("transform group with name {} not found", name)); [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] 462 | panic!("transform group with name {} not found", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/isa/riscv/recipes.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | format!("riscv recipe '{}' created twice", builder.name) [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] 28 | "riscv recipe '{}' created twice", builder.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/isa/x86/encodings.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | / format!( [INFO] [stdout] 49 | | "trying to insert different recipes with a same name ({})", [INFO] [stdout] 50 | | recipe.name [INFO] [stdout] 51 | | ) [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] 48 | [INFO] [stdout] 49 | "trying to insert different recipes with a same name ({})", [INFO] [stdout] 50 | recipe.name [INFO] [stdout] 51 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gen_encodings.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | / ... format!("Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, ... [INFO] [stdout] 103 | | ... )); [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] 102 | "Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, leaf_format_name [INFO] [stdout] 103 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/ast.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | format!("redefinition of variable {}", self.name) [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] 299 | "redefinition of variable {}", self.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/ast.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | format!("incorrect number of arguments in instruction {}", inst.name) [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] 464 | "incorrect number of arguments in instruction {}", inst.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/encodings.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / format!( [INFO] [stdout] 157 | | "Inst {} and recipe {} must have the same format!", [INFO] [stdout] 158 | | inst.name, recipes[self.recipe].name [INFO] [stdout] 159 | | ) [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] 156 | [INFO] [stdout] 157 | "Inst {} and recipe {} must have the same format!", [INFO] [stdout] 158 | inst.name, recipes[self.recipe].name [INFO] [stdout] 159 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/instructions.rs:387:43 [INFO] [stdout] | [INFO] [stdout] 387 | ValueTypeOrAny::Any => panic!(format!("Unexpected Any: {}", msg)), [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] 387 | ValueTypeOrAny::Any => panic!("Unexpected Any: {}", msg), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/instructions.rs:658:33 [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!("{}", msg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => std::panic::panic_any(msg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/recipes.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | / format!( [INFO] [stdout] 264 | | "missing operand constraints for recipe {} (format {})", [INFO] [stdout] 265 | | self.name, self.format.name [INFO] [stdout] 266 | | ) [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] 263 | [INFO] [stdout] 264 | "missing operand constraints for recipe {} (format {})", [INFO] [stdout] 265 | self.name, self.format.name [INFO] [stdout] 266 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/type_inference.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | format!("variable {} should be explicitly ranked", actual_tv.name) [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] 213 | "variable {} should be explicitly ranked", actual_tv.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | format!("'{:?}' used as both input and def", var_pool.get(var_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] 77 | "'{:?}' used as both input and def", var_pool.get(var_index) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / format!( [INFO] [stdout] 83 | | "extra input vars in dst pattern: {:?}", [INFO] [stdout] 84 | | input_vars [INFO] [stdout] 85 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 88 | | .collect::>() [INFO] [stdout] 89 | | ) [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] 82 | [INFO] [stdout] 83 | "extra input vars in dst pattern: {:?}", [INFO] [stdout] 84 | input_vars [INFO] [stdout] 85 | .iter() [INFO] [stdout] 86 | .map(|&i| var_pool.get(i)) [INFO] [stdout] 87 | .skip(num_src_inputs) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | format!("{:?} not defined in the destination pattern", defined_var) [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] 146 | "{:?} not defined in the destination pattern", defined_var [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | format!("{:?} used as both input and def", var) [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] 229 | "{:?} used as both input and def", var [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | / format!( [INFO] [stdout] 404 | | "custom legalization action for {} inserted twice", [INFO] [stdout] 405 | | inst.name [INFO] [stdout] 406 | | ) [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] 403 | [INFO] [stdout] 404 | "custom legalization action for {} inserted twice", [INFO] [stdout] 405 | inst.name [INFO] [stdout] 406 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | format!("trying to insert {} for the second time", new_group.name) [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] 445 | "trying to insert {} for the second time", new_group.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cdsl/xform.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | panic!(format!("transform group with name {} not found", name)); [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] 462 | panic!("transform group with name {} not found", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/isa/riscv/recipes.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | format!("riscv recipe '{}' created twice", builder.name) [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] 28 | "riscv recipe '{}' created twice", builder.name [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/isa/x86/encodings.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | / format!( [INFO] [stdout] 49 | | "trying to insert different recipes with a same name ({})", [INFO] [stdout] 50 | | recipe.name [INFO] [stdout] 51 | | ) [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] 48 | [INFO] [stdout] 49 | "trying to insert different recipes with a same name ({})", [INFO] [stdout] 50 | recipe.name [INFO] [stdout] 51 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gen_encodings.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | / ... format!("Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, ... [INFO] [stdout] 103 | | ... )); [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] 102 | "Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, leaf_format_name [INFO] [stdout] 103 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.13s [INFO] running `Command { std: "docker" "inspect" "38f233294ac2160a5f449031cd367f2a9b3d1366abc04f64c7d659a09a3e5117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f233294ac2160a5f449031cd367f2a9b3d1366abc04f64c7d659a09a3e5117", kill_on_drop: false }` [INFO] [stdout] 38f233294ac2160a5f449031cd367f2a9b3d1366abc04f64c7d659a09a3e5117