[INFO] fetching crate kg-diag-derive 0.4.0... [INFO] checking kg-diag-derive-0.4.0 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate kg-diag-derive 0.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate kg-diag-derive 0.4.0 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kg-diag-derive 0.4.0 [INFO] finished tweaking crates.io crate kg-diag-derive 0.4.0 [INFO] tweaked toml for crates.io crate kg-diag-derive 0.4.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b5e8f7f4c50fd1cfe8d89dc2704a21af4de714361d150fa92847d1a39199728 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b5e8f7f4c50fd1cfe8d89dc2704a21af4de714361d150fa92847d1a39199728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b5e8f7f4c50fd1cfe8d89dc2704a21af4de714361d150fa92847d1a39199728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5e8f7f4c50fd1cfe8d89dc2704a21af4de714361d150fa92847d1a39199728", kill_on_drop: false }` [INFO] [stdout] 8b5e8f7f4c50fd1cfe8d89dc2704a21af4de714361d150fa92847d1a39199728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cc69eeaf6f30f09841340b273554a8eb74c1e8f36fd5986c7f202d0dbd3ee75 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3cc69eeaf6f30f09841340b273554a8eb74c1e8f36fd5986c7f202d0dbd3ee75", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking synstructure v0.12.4 [INFO] [stderr] Compiling kg-utils v0.2.4 [INFO] [stderr] Checking kg-display v0.1.2 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling kg-display-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking kg-diag v0.4.0 [INFO] [stderr] Checking kg-diag-derive v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 46 | | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | | value, [INFO] [stdout] 48 | | st.ast().ident [INFO] [stdout] 49 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!( [INFO] [stdout] 46 | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | value, [INFO] [stdout] 48 | st.ast().ident [INFO] [stdout] 49 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 46 | | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | | value, [INFO] [stdout] 48 | | st.ast().ident [INFO] [stdout] 49 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!( [INFO] [stdout] 46 | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | value, [INFO] [stdout] 48 | st.ast().ident [INFO] [stdout] 49 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 58 | | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | | value, [INFO] [stdout] 60 | | st.ast().ident [INFO] [stdout] 61 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!( [INFO] [stdout] 58 | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | value, [INFO] [stdout] 60 | st.ast().ident [INFO] [stdout] 61 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | | st.ast().ident [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 | panic!( [INFO] [stdout] 65 | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | st.ast().ident [INFO] [stdout] 67 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 99 | | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | | value, [INFO] [stdout] 101 | | v.ast().ident [INFO] [stdout] 102 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!( [INFO] [stdout] 99 | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | value, [INFO] [stdout] 101 | v.ast().ident [INFO] [stdout] 102 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 111 | | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | | value, [INFO] [stdout] 113 | | v.ast().ident [INFO] [stdout] 114 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!( [INFO] [stdout] 111 | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | value, [INFO] [stdout] 113 | v.ast().ident [INFO] [stdout] 114 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 118 | | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | | v.ast().ident [INFO] [stdout] 120 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 | panic!( [INFO] [stdout] 118 | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | v.ast().ident [INFO] [stdout] 120 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 142 | | "duplicated code {} in type {}", [INFO] [stdout] 143 | | a.code, [INFO] [stdout] 144 | | st.ast().ident [INFO] [stdout] 145 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 141 | panic!( [INFO] [stdout] 142 | "duplicated code {} in type {}", [INFO] [stdout] 143 | a.code, [INFO] [stdout] 144 | st.ast().ident [INFO] [stdout] 145 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 58 | | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | | value, [INFO] [stdout] 60 | | st.ast().ident [INFO] [stdout] 61 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!( [INFO] [stdout] 58 | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | value, [INFO] [stdout] 60 | st.ast().ident [INFO] [stdout] 61 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | panic!(format!("multiple {}(...) attributes found", id)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 205 | panic!("multiple {}(...) attributes found", id) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | | st.ast().ident [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 | panic!( [INFO] [stdout] 65 | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | st.ast().ident [INFO] [stdout] 67 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 99 | | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | | value, [INFO] [stdout] 101 | | v.ast().ident [INFO] [stdout] 102 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!( [INFO] [stdout] 99 | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | value, [INFO] [stdout] 101 | v.ast().ident [INFO] [stdout] 102 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 111 | | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | | value, [INFO] [stdout] 113 | | v.ast().ident [INFO] [stdout] 114 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!( [INFO] [stdout] 111 | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | value, [INFO] [stdout] 113 | v.ast().ident [INFO] [stdout] 114 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 118 | | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | | v.ast().ident [INFO] [stdout] 120 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 | panic!( [INFO] [stdout] 118 | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | v.ast().ident [INFO] [stdout] 120 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 142 | | "duplicated code {} in type {}", [INFO] [stdout] 143 | | a.code, [INFO] [stdout] 144 | | st.ast().ident [INFO] [stdout] 145 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 141 | panic!( [INFO] [stdout] 142 | "duplicated code {} in type {}", [INFO] [stdout] 143 | a.code, [INFO] [stdout] 144 | st.ast().ident [INFO] [stdout] 145 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | panic!(format!("multiple {}(...) attributes found", id)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 205 | panic!("multiple {}(...) attributes found", id) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 46 | | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | | value, [INFO] [stdout] 48 | | st.ast().ident [INFO] [stdout] 49 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 45 | Err(value) => panic!( [INFO] [stdout] 46 | "invalid default severity \"{}\" for type {}", [INFO] [stdout] 47 | value, [INFO] [stdout] 48 | st.ast().ident [INFO] [stdout] 49 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!(format!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 58 | | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | | value, [INFO] [stdout] 60 | | st.ast().ident [INFO] [stdout] 61 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | Err(value) => panic!( [INFO] [stdout] 58 | "invalid default severity '{}' for type {}", [INFO] [stdout] 59 | value, [INFO] [stdout] 60 | st.ast().ident [INFO] [stdout] 61 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | | st.ast().ident [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 | panic!( [INFO] [stdout] 65 | "invalid diag(...) attribute for type {}", [INFO] [stdout] 66 | st.ast().ident [INFO] [stdout] 67 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 99 | | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | | value, [INFO] [stdout] 101 | | v.ast().ident [INFO] [stdout] 102 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 | Err(value) => panic!( [INFO] [stdout] 99 | "invalid severity \"{}\" for variant {}", [INFO] [stdout] 100 | value, [INFO] [stdout] 101 | v.ast().ident [INFO] [stdout] 102 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!(format!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 111 | | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | | value, [INFO] [stdout] 113 | | v.ast().ident [INFO] [stdout] 114 | | )), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 | Err(value) => panic!( [INFO] [stdout] 111 | "invalid severity '{}' for variant {}", [INFO] [stdout] 112 | value, [INFO] [stdout] 113 | v.ast().ident [INFO] [stdout] 114 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 118 | | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | | v.ast().ident [INFO] [stdout] 120 | | )); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 | panic!( [INFO] [stdout] 118 | "invalid diag(...) attribute for variant {}", [INFO] [stdout] 119 | v.ast().ident [INFO] [stdout] 120 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 142 | | "duplicated code {} in type {}", [INFO] [stdout] 143 | | a.code, [INFO] [stdout] 144 | | st.ast().ident [INFO] [stdout] 145 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 141 | panic!( [INFO] [stdout] 142 | "duplicated code {} in type {}", [INFO] [stdout] 143 | a.code, [INFO] [stdout] 144 | st.ast().ident [INFO] [stdout] 145 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | panic!(format!("multiple {}(...) attributes found", id)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 205 | panic!("multiple {}(...) attributes found", id) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> tests/tests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "3cc69eeaf6f30f09841340b273554a8eb74c1e8f36fd5986c7f202d0dbd3ee75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc69eeaf6f30f09841340b273554a8eb74c1e8f36fd5986c7f202d0dbd3ee75", kill_on_drop: false }` [INFO] [stdout] 3cc69eeaf6f30f09841340b273554a8eb74c1e8f36fd5986c7f202d0dbd3ee75