[INFO] fetching crate kg-diag-derive 0.4.0... [INFO] checking kg-diag-derive-0.4.0 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate kg-diag-derive 0.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate kg-diag-derive 0.4.0 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b5d2f4bc190f24f3fa2f72428c928a57885572f1b765b800b182bbc30e0541 [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" "67b5d2f4bc190f24f3fa2f72428c928a57885572f1b765b800b182bbc30e0541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b5d2f4bc190f24f3fa2f72428c928a57885572f1b765b800b182bbc30e0541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b5d2f4bc190f24f3fa2f72428c928a57885572f1b765b800b182bbc30e0541", kill_on_drop: false }` [INFO] [stdout] 67b5d2f4bc190f24f3fa2f72428c928a57885572f1b765b800b182bbc30e0541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d75437f21fbf05f66d224ad82c2262b68cf5277d5308468d3ab5af502651ca99 [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" "d75437f21fbf05f66d224ad82c2262b68cf5277d5308468d3ab5af502651ca99", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.72 [INFO] [stderr] Compiling addr2line v0.15.1 [INFO] [stderr] Checking kg-display v0.1.2 [INFO] [stderr] Compiling kg-utils v0.2.4 [INFO] [stderr] Checking synstructure v0.12.4 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Compiling kg-display-derive v0.1.1 [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: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: 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: 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 55s [INFO] running `Command { std: "docker" "inspect" "d75437f21fbf05f66d224ad82c2262b68cf5277d5308468d3ab5af502651ca99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75437f21fbf05f66d224ad82c2262b68cf5277d5308468d3ab5af502651ca99", kill_on_drop: false }` [INFO] [stdout] d75437f21fbf05f66d224ad82c2262b68cf5277d5308468d3ab5af502651ca99