[INFO] fetching crate alexcrichton-cranelift-codegen-meta 0.53.0... [INFO] testing alexcrichton-cranelift-codegen-meta-0.53.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate alexcrichton-cranelift-codegen-meta 0.53.0 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alexcrichton-cranelift-codegen-meta 0.53.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alexcrichton-cranelift-entity v0.53.0 [INFO] [stderr] Downloaded alexcrichton-cranelift-codegen-shared v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d4c84c751507e7227557b735eab1dcf36bfd5c23a0a90284372e4a353189839 [INFO] running `Command { std: "docker" "start" "-a" "9d4c84c751507e7227557b735eab1dcf36bfd5c23a0a90284372e4a353189839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4c84c751507e7227557b735eab1dcf36bfd5c23a0a90284372e4a353189839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4c84c751507e7227557b735eab1dcf36bfd5c23a0a90284372e4a353189839", kill_on_drop: false }` [INFO] [stdout] 9d4c84c751507e7227557b735eab1dcf36bfd5c23a0a90284372e4a353189839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3f539b70eb648d0e1830473c3abc44b3b3e4b978bf2bc45c737c6e99a7027880 [INFO] running `Command { std: "docker" "start" "-a" "3f539b70eb648d0e1830473c3abc44b3b3e4b978bf2bc45c737c6e99a7027880", kill_on_drop: false }` [INFO] [stderr] Compiling alexcrichton-cranelift-entity v0.53.0 [INFO] [stderr] Compiling alexcrichton-cranelift-codegen-shared v0.53.0 [INFO] [stderr] Compiling alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_encodings.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | key => fmtln!(fmt, "Some({}),", predicate_names.get(&key).unwrap()), [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | fmtln!(fmt, "{},", inst.camel_name) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | Some(i) => fmtln!(fmt, "Some(Opcode::{}),", i.camel_name), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | None => fmtln!(fmt, "None,"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:1071:5 [INFO] [stdout] | [INFO] [stdout] 1071 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_legalizer.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | Some(group_id) => fmtln!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 645 | | fmt, [INFO] [stdout] 646 | | "{}(inst, func, cfg, isa)", [INFO] [stdout] 647 | | transform_groups.get(*group_id).rust_name() [INFO] [stdout] 648 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | Some(setting_or_preset) => fmtln!( [INFO] [stdout] | ____________________________________________- [INFO] [stdout] 322 | | fmt, [INFO] [stdout] 323 | | "{},", [INFO] [stdout] 324 | | &descriptor_index_map [INFO] [stdout] ... | [INFO] [stdout] 327 | | .to_string() [INFO] [stdout] 328 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | None => fmtln!(fmt, "0xffff,"), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/cdsl/isa.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct TargetIsa { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub name: &'static str, [INFO] [stdout] 13 | pub instructions: InstructionGroup, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 299 - format!("redefinition of variable {}", self.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("incorrect number of arguments in instruction {}", inst.name) [INFO] [stdout] 464 + "incorrect number of arguments in instruction {}", inst.name [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cdsl/cpu_modes.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys { [INFO] [stdout] | ^^^^^ ---------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys<'_, ValueType, TransformGroupIndex> { [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unexpected Any: {}", msg)), [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!("{}", 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("variable {} should be explicitly ranked", actual_tv.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("'{:?}' used as both input and def", var_pool.get(var_index)) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] ... [INFO] [stdout] 88 | .collect::>() [INFO] [stdout] 89 ~ [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} not defined in the destination pattern", defined_var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} used as both input and def", var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("trying to insert {} for the second time", new_group.name) [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("transform group with name {} not found", name)); [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("riscv recipe '{}' created twice", builder.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/x86/recipes.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template<'_> { [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gen_encodings.rs:874:26 [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<&'entries T> { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<'_, &'entries T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3f539b70eb648d0e1830473c3abc44b3b3e4b978bf2bc45c737c6e99a7027880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f539b70eb648d0e1830473c3abc44b3b3e4b978bf2bc45c737c6e99a7027880", kill_on_drop: false }` [INFO] [stdout] 3f539b70eb648d0e1830473c3abc44b3b3e4b978bf2bc45c737c6e99a7027880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 690acb04a1966badef8e4dcbdcc90b466ba01e83cf76a76d214a975997869fb9 [INFO] running `Command { std: "docker" "start" "-a" "690acb04a1966badef8e4dcbdcc90b466ba01e83cf76a76d214a975997869fb9", kill_on_drop: false }` [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_encodings.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | key => fmtln!(fmt, "Some({}),", predicate_names.get(&key).unwrap()), [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | fmtln!(fmt, "{},", inst.camel_name) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | Some(i) => fmtln!(fmt, "Some(Opcode::{}),", i.camel_name), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | None => fmtln!(fmt, "None,"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:1071:5 [INFO] [stdout] | [INFO] [stdout] 1071 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_legalizer.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | Some(group_id) => fmtln!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 645 | | fmt, [INFO] [stdout] 646 | | "{}(inst, func, cfg, isa)", [INFO] [stdout] 647 | | transform_groups.get(*group_id).rust_name() [INFO] [stdout] 648 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | Some(setting_or_preset) => fmtln!( [INFO] [stdout] | ____________________________________________- [INFO] [stdout] 322 | | fmt, [INFO] [stdout] 323 | | "{},", [INFO] [stdout] 324 | | &descriptor_index_map [INFO] [stdout] ... | [INFO] [stdout] 327 | | .to_string() [INFO] [stdout] 328 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | None => fmtln!(fmt, "0xffff,"), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/cdsl/isa.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct TargetIsa { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub name: &'static str, [INFO] [stdout] 13 | pub instructions: InstructionGroup, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 299 - format!("redefinition of variable {}", self.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("incorrect number of arguments in instruction {}", inst.name) [INFO] [stdout] 464 + "incorrect number of arguments in instruction {}", inst.name [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cdsl/cpu_modes.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys { [INFO] [stdout] | ^^^^^ ---------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys<'_, ValueType, TransformGroupIndex> { [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unexpected Any: {}", msg)), [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!("{}", 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("variable {} should be explicitly ranked", actual_tv.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("'{:?}' used as both input and def", var_pool.get(var_index)) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] ... [INFO] [stdout] 88 | .collect::>() [INFO] [stdout] 89 ~ [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} not defined in the destination pattern", defined_var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} used as both input and def", var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("trying to insert {} for the second time", new_group.name) [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("transform group with name {} not found", name)); [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("riscv recipe '{}' created twice", builder.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/x86/recipes.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gen_encodings.rs:874:26 [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<&'entries T> { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<'_, &'entries T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_encodings.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | key => fmtln!(fmt, "Some({}),", predicate_names.get(&key).unwrap()), [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | fmtln!(fmt, "{},", inst.camel_name) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:576:28 [INFO] [stdout] | [INFO] [stdout] 576 | Some(i) => fmtln!(fmt, "Some(Opcode::{}),", i.camel_name), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | None => fmtln!(fmt, "None,"), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_inst.rs:1071:5 [INFO] [stdout] | [INFO] [stdout] 1071 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_legalizer.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | Some(group_id) => fmtln!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 645 | | fmt, [INFO] [stdout] 646 | | "{}(inst, func, cfg, isa)", [INFO] [stdout] 647 | | transform_groups.get(*group_id).rust_name() [INFO] [stdout] 648 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:22:54 [INFO] [stdout] | [INFO] [stdout] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | Some(setting_or_preset) => fmtln!( [INFO] [stdout] | ____________________________________________- [INFO] [stdout] 322 | | fmt, [INFO] [stdout] 323 | | "{},", [INFO] [stdout] 324 | | &descriptor_index_map [INFO] [stdout] ... | [INFO] [stdout] 327 | | .to_string() [INFO] [stdout] 328 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | None => fmtln!(fmt, "0xffff,"), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/srcgen.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | $fmt.line($arg); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/gen_settings.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | fmtln!(fmt, "}") [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stdout] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/cdsl/isa.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct TargetIsa { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub name: &'static str, [INFO] [stdout] 13 | pub instructions: InstructionGroup, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 299 - format!("redefinition of variable {}", self.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("incorrect number of arguments in instruction {}", inst.name) [INFO] [stdout] 464 + "incorrect number of arguments in instruction {}", inst.name [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cdsl/cpu_modes.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys { [INFO] [stdout] | ^^^^^ ---------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys<'_, ValueType, TransformGroupIndex> { [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unexpected Any: {}", msg)), [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 658 | Some(msg) => panic!("{}", 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("variable {} should be explicitly ranked", actual_tv.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("'{:?}' used as both input and def", var_pool.get(var_index)) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] ... [INFO] [stdout] 88 | .collect::>() [INFO] [stdout] 89 ~ [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} not defined in the destination pattern", defined_var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("{:?} used as both input and def", var) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("trying to insert {} for the second time", new_group.name) [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("transform group with name {} not found", name)); [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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 - format!("riscv recipe '{}' created twice", builder.name) [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/isa/x86/recipes.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn template(&self, name: &str) -> &Template<'_> { [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gen_encodings.rs:874:26 [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table { [INFO] [stdout] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<&'entries T> { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> slice::Iter<'_, &'entries T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unique_table.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "690acb04a1966badef8e4dcbdcc90b466ba01e83cf76a76d214a975997869fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "690acb04a1966badef8e4dcbdcc90b466ba01e83cf76a76d214a975997869fb9", kill_on_drop: false }` [INFO] [stdout] 690acb04a1966badef8e4dcbdcc90b466ba01e83cf76a76d214a975997869fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ccf62ba30bad130a0f064540ec968e329e7a4f7cad2eef57ddaca264f7836c3d [INFO] running `Command { std: "docker" "start" "-a" "ccf62ba30bad130a0f064540ec968e329e7a4f7cad2eef57ddaca264f7836c3d", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:22:54 [INFO] [stderr] | [INFO] [stderr] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_encodings.rs:199:24 [INFO] [stderr] | [INFO] [stderr] 199 | key => fmtln!(fmt, "Some({}),", predicate_names.get(&key).unwrap()), [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:22:54 [INFO] [stderr] | [INFO] [stderr] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_inst.rs:440:17 [INFO] [stderr] | [INFO] [stderr] 440 | fmtln!(fmt, "{},", inst.camel_name) [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:22:54 [INFO] [stderr] | [INFO] [stderr] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_inst.rs:576:28 [INFO] [stderr] | [INFO] [stderr] 576 | Some(i) => fmtln!(fmt, "Some(Opcode::{}),", i.camel_name), [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | $fmt.line($arg); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_inst.rs:577:25 [INFO] [stderr] | [INFO] [stderr] 577 | None => fmtln!(fmt, "None,"), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | $fmt.line($arg); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_inst.rs:1071:5 [INFO] [stderr] | [INFO] [stderr] 1071 | fmtln!(fmt, "}") [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:22:54 [INFO] [stderr] | [INFO] [stderr] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_legalizer.rs:644:31 [INFO] [stderr] | [INFO] [stderr] 644 | Some(group_id) => fmtln!( [INFO] [stderr] | _______________________________- [INFO] [stderr] 645 | | fmt, [INFO] [stderr] 646 | | "{}(inst, func, cfg, isa)", [INFO] [stderr] 647 | | transform_groups.get(*group_id).rust_name() [INFO] [stderr] 648 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:22:54 [INFO] [stderr] | [INFO] [stderr] 22 | $fmt.line(format!($fmtstring, $($fmtargs),*)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_settings.rs:321:44 [INFO] [stderr] | [INFO] [stderr] 321 | Some(setting_or_preset) => fmtln!( [INFO] [stderr] | ____________________________________________- [INFO] [stderr] 322 | | fmt, [INFO] [stderr] 323 | | "{},", [INFO] [stderr] 324 | | &descriptor_index_map [INFO] [stderr] ... | [INFO] [stderr] 327 | | .to_string() [INFO] [stderr] 328 | | ), [INFO] [stderr] | |_________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | $fmt.line($arg); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_settings.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | None => fmtln!(fmt, "0xffff,"), [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/srcgen.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | $fmt.line($arg); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/gen_settings.rs:414:9 [INFO] [stderr] | [INFO] [stderr] 414 | fmtln!(fmt, "}") [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fmtln` [INFO] [stderr] = note: this warning originates in the macro `fmtln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `instructions` is never read [INFO] [stderr] --> src/cdsl/isa.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct TargetIsa { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 12 | pub name: &'static str, [INFO] [stderr] 13 | pub instructions: InstructionGroup, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/ast.rs:299:13 [INFO] [stderr] | [INFO] [stderr] 299 | format!("redefinition of variable {}", self.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 299 - format!("redefinition of variable {}", self.name) [INFO] [stderr] 299 + "redefinition of variable {}", self.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/ast.rs:464:13 [INFO] [stderr] | [INFO] [stderr] 464 | format!("incorrect number of arguments in instruction {}", inst.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 464 - format!("incorrect number of arguments in instruction {}", inst.name) [INFO] [stderr] 464 + "incorrect number of arguments in instruction {}", inst.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cdsl/cpu_modes.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys { [INFO] [stderr] | ^^^^^ ---------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn get_legalized_types(&self) -> hash_map::Keys<'_, ValueType, TransformGroupIndex> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/encodings.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | / format!( [INFO] [stderr] 157 | | "Inst {} and recipe {} must have the same format!", [INFO] [stderr] 158 | | inst.name, recipes[self.recipe].name [INFO] [stderr] 159 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 156 ~ [INFO] [stderr] 157 | "Inst {} and recipe {} must have the same format!", [INFO] [stderr] 158 | inst.name, recipes[self.recipe].name [INFO] [stderr] 159 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/instructions.rs:387:43 [INFO] [stderr] | [INFO] [stderr] 387 | ValueTypeOrAny::Any => panic!(format!("Unexpected Any: {}", msg)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 387 - ValueTypeOrAny::Any => panic!(format!("Unexpected Any: {}", msg)), [INFO] [stderr] 387 + ValueTypeOrAny::Any => panic!("Unexpected Any: {}", msg), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/instructions.rs:658:33 [INFO] [stderr] | [INFO] [stderr] 658 | Some(msg) => panic!(msg), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 658 | Some(msg) => panic!("{}", msg), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/recipes.rs:263:17 [INFO] [stderr] | [INFO] [stderr] 263 | / format!( [INFO] [stderr] 264 | | "missing operand constraints for recipe {} (format {})", [INFO] [stderr] 265 | | self.name, self.format.name [INFO] [stderr] 266 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 263 ~ [INFO] [stderr] 264 | "missing operand constraints for recipe {} (format {})", [INFO] [stderr] 265 | self.name, self.format.name [INFO] [stderr] 266 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/type_inference.rs:213:25 [INFO] [stderr] | [INFO] [stderr] 213 | format!("variable {} should be explicitly ranked", actual_tv.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 213 - format!("variable {} should be explicitly ranked", actual_tv.name) [INFO] [stderr] 213 + "variable {} should be explicitly ranked", actual_tv.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | format!("'{:?}' used as both input and def", var_pool.get(var_index)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 77 - format!("'{:?}' used as both input and def", var_pool.get(var_index)) [INFO] [stderr] 77 + "'{:?}' used as both input and def", var_pool.get(var_index) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | / format!( [INFO] [stderr] 83 | | "extra input vars in dst pattern: {:?}", [INFO] [stderr] 84 | | input_vars [INFO] [stderr] 85 | | .iter() [INFO] [stderr] ... | [INFO] [stderr] 88 | | .collect::>() [INFO] [stderr] 89 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 82 ~ [INFO] [stderr] 83 | "extra input vars in dst pattern: {:?}", [INFO] [stderr] ... [INFO] [stderr] 88 | .collect::>() [INFO] [stderr] 89 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:146:17 [INFO] [stderr] | [INFO] [stderr] 146 | format!("{:?} not defined in the destination pattern", defined_var) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 146 - format!("{:?} not defined in the destination pattern", defined_var) [INFO] [stderr] 146 + "{:?} not defined in the destination pattern", defined_var [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:229:21 [INFO] [stderr] | [INFO] [stderr] 229 | format!("{:?} used as both input and def", var) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 229 - format!("{:?} used as both input and def", var) [INFO] [stderr] 229 + "{:?} used as both input and def", var [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:403:13 [INFO] [stderr] | [INFO] [stderr] 403 | / format!( [INFO] [stderr] 404 | | "custom legalization action for {} inserted twice", [INFO] [stderr] 405 | | inst.name [INFO] [stderr] 406 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 403 ~ [INFO] [stderr] 404 | "custom legalization action for {} inserted twice", [INFO] [stderr] 405 | inst.name [INFO] [stderr] 406 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:445:17 [INFO] [stderr] | [INFO] [stderr] 445 | format!("trying to insert {} for the second time", new_group.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 445 - format!("trying to insert {} for the second time", new_group.name) [INFO] [stderr] 445 + "trying to insert {} for the second time", new_group.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cdsl/xform.rs:462:16 [INFO] [stderr] | [INFO] [stderr] 462 | panic!(format!("transform group with name {} not found", name)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 462 - panic!(format!("transform group with name {} not found", name)); [INFO] [stderr] 462 + panic!("transform group with name {} not found", name); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/isa/riscv/recipes.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | format!("riscv recipe '{}' created twice", builder.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 28 - format!("riscv recipe '{}' created twice", builder.name) [INFO] [stderr] 28 + "riscv recipe '{}' created twice", builder.name [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/isa/x86/encodings.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | / format!( [INFO] [stderr] 49 | | "trying to insert different recipes with a same name ({})", [INFO] [stderr] 50 | | recipe.name [INFO] [stderr] 51 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 48 ~ [INFO] [stderr] 49 | "trying to insert different recipes with a same name ({})", [INFO] [stderr] 50 | recipe.name [INFO] [stderr] 51 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/isa/x86/recipes.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn template(&self, name: &str) -> &Template { [INFO] [stderr] | ^^^^^ --------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 60 | pub fn template(&self, name: &str) -> &Template<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/gen_encodings.rs:102:25 [INFO] [stderr] | [INFO] [stderr] 102 | / ... format!("Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, ... [INFO] [stderr] 103 | | ... )); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 102 ~ "Format predicate can only operate on a single InstructionFormat; trying to use both {} and {}", previous_format_name, leaf_format_name [INFO] [stderr] 103 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gen_encodings.rs:874:26 [INFO] [stderr] | [INFO] [stderr] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table { [INFO] [stderr] | ^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 874 | fn make_tables(cpu_mode: &CpuMode) -> Level1Table<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/unique_table.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> slice::Iter<&'entries T> { [INFO] [stderr] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> slice::Iter<'_, &'entries T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/unique_table.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn iter(&self) -> slice::Iter { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `alexcrichton-cranelift-codegen-meta` (lib) generated 32 warnings (run `cargo fix --lib -p alexcrichton-cranelift-codegen-meta` to apply 22 suggestions) [INFO] [stderr] warning: `alexcrichton-cranelift-codegen-meta` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: alexcrichton-cranelift-codegen-meta v0.53.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cranelift_codegen_meta-60e434c65347e0c8) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test cdsl::ast::tests::const_pool_iterates ... ok [INFO] [stdout] test cdsl::instructions::test::ensure_bound_instructions_can_bind_immediates ... ok [INFO] [stdout] test cdsl::instructions::test::ensure_bound_instructions_can_bind_lane_types ... ok [INFO] [stdout] test cdsl::ast::tests::const_pool_returns_var_names ... ok [INFO] [stdout] test cdsl::tests::camel_case_works ... ok [INFO] [stdout] test cdsl::ast::tests::const_pool_avoids_duplicates ... ok [INFO] [stdout] test cdsl::typevar::test_as_bool ... ok [INFO] [stdout] test cdsl::typevar::test_forward_images ... ok [INFO] [stdout] test cdsl::typevar::test_backward_images ... ok [INFO] [stdout] test cdsl::typevar::test_typeset_singleton ... ok [INFO] [stdout] test cdsl::typevar::test_typevar_builder ... ok [INFO] [stdout] test cdsl::typevar::test_typevar_functions ... ok [INFO] [stdout] test default_map::test_default ... ok [INFO] [stdout] test shared::types::iter_tests::bool_iter_works ... ok [INFO] [stdout] test shared::types::iter_tests::flag_iter_works ... ok [INFO] [stdout] test shared::types::iter_tests::int_iter_works ... ok [INFO] [stdout] test shared::types::iter_tests::reference_iter_works ... ok [INFO] [stdout] test shared::types::iter_tests::float_iter_works ... ok [INFO] [stdout] test cdsl::typevar::test_typevar_singleton ... ok [INFO] [stdout] test srcgen::srcgen_tests::fmt_can_add_doc_comments ... ok [INFO] [stdout] test srcgen::srcgen_tests::fmt_can_add_doc_comments_with_empty_lines ... ok [INFO] [stdout] test srcgen::srcgen_tests::adding_arms_works ... ok [INFO] [stdout] test srcgen::srcgen_tests::fmt_can_add_indented_line ... ok [INFO] [stdout] test srcgen::srcgen_tests::fmt_can_add_type_to_lines ... ok [INFO] [stdout] test srcgen::srcgen_tests::formatter_basic_example_works ... ok [INFO] [stdout] test srcgen::srcgen_tests::get_indent_works ... ok [INFO] [stdout] test srcgen::srcgen_tests::match_with_catchall_order ... ok [INFO] [stdout] test srcgen::srcgen_tests::parse_multiline_works ... ok [INFO] [stdout] test unique_table::test_find_subsequence ... ok [INFO] [stdout] test unique_table::test_optimal_add ... ok [INFO] [stdout] test cdsl::instructions::test::ensure_instructions_fail_to_bind - should panic ... ok [INFO] [stdout] test cdsl::instructions::test::ensure_instructions_fail_to_bind_too_many_immediates - should panic ... ok [INFO] [stdout] test cdsl::instructions::test::ensure_bound_instructions_fail_to_bind_too_many_types - should panic ... ok [INFO] [stdout] test cdsl::typevar::test_typeset_singleton_panic_nonsingleton_types - should panic ... ok [INFO] [stdout] test cdsl::typevar::test_typeset_singleton_panic_nonsingleton_lanes - should panic ... ok [INFO] [stdout] test cdsl::typevar::test_typevar_builder_inverted_bounds_panic - should panic ... ok [INFO] [stdout] test cdsl::typevar::test_typevar_builder_too_high_bound_panic - should panic ... ok [INFO] [stdout] test cdsl::xform::test_double_custom_legalization - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ccf62ba30bad130a0f064540ec968e329e7a4f7cad2eef57ddaca264f7836c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf62ba30bad130a0f064540ec968e329e7a4f7cad2eef57ddaca264f7836c3d", kill_on_drop: false }` [INFO] [stdout] ccf62ba30bad130a0f064540ec968e329e7a4f7cad2eef57ddaca264f7836c3d