[INFO] fetching crate kg-diag-derive 0.4.0... [INFO] checking kg-diag-derive-0.4.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate kg-diag-derive 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate kg-diag-derive 0.4.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b55f6cc6399b39315aae03eb86c595752768b9a3a503a16e7978d3b2538716a [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" "3b55f6cc6399b39315aae03eb86c595752768b9a3a503a16e7978d3b2538716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b55f6cc6399b39315aae03eb86c595752768b9a3a503a16e7978d3b2538716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b55f6cc6399b39315aae03eb86c595752768b9a3a503a16e7978d3b2538716a", kill_on_drop: false }` [INFO] [stdout] 3b55f6cc6399b39315aae03eb86c595752768b9a3a503a16e7978d3b2538716a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c02b0c1dcff4d8e17d4ab850015b0dc3775dd02bd8e65e43e80770ed2e8340e9 [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" "c02b0c1dcff4d8e17d4ab850015b0dc3775dd02bd8e65e43e80770ed2e8340e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling kg-utils v0.2.4 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.11.0 [INFO] [stderr] Checking kg-display v0.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking syn v1.0.69 [INFO] [stderr] Compiling kg-display-derive v0.1.1 [INFO] [stderr] Checking synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking kg-diag v0.4.0 [INFO] [stderr] Compiling 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: 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: 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 56.03s [INFO] running `Command { std: "docker" "inspect" "c02b0c1dcff4d8e17d4ab850015b0dc3775dd02bd8e65e43e80770ed2e8340e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c02b0c1dcff4d8e17d4ab850015b0dc3775dd02bd8e65e43e80770ed2e8340e9", kill_on_drop: false }` [INFO] [stdout] c02b0c1dcff4d8e17d4ab850015b0dc3775dd02bd8e65e43e80770ed2e8340e9