[INFO] fetching crate json2struct 0.1.6...
[INFO] checking json2struct-0.1.6 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate json2struct 0.1.6 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate json2struct 0.1.6
[INFO] finished tweaking crates.io crate json2struct 0.1.6
[INFO] tweaked toml for crates.io crate json2struct 0.1.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate json2struct 0.1.6 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate json2struct 0.1.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a41afc6b15015d3d1333bbd4e8b6f866939a60484d4ec42b267a7c7538e69538
[INFO] running `Command { std: "docker" "start" "-a" "a41afc6b15015d3d1333bbd4e8b6f866939a60484d4ec42b267a7c7538e69538", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a41afc6b15015d3d1333bbd4e8b6f866939a60484d4ec42b267a7c7538e69538", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a41afc6b15015d3d1333bbd4e8b6f866939a60484d4ec42b267a7c7538e69538", kill_on_drop: false }`
[INFO] [stdout] a41afc6b15015d3d1333bbd4e8b6f866939a60484d4ec42b267a7c7538e69538
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0571cc9d9f55d0b6f778ec37d8c43d09497079073e1765c0223168f8d22279b0
[INFO] running `Command { std: "docker" "start" "-a" "0571cc9d9f55d0b6f778ec37d8c43d09497079073e1765c0223168f8d22279b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking maybe-uninit v2.0.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]     Checking globset v0.4.5
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stderr]     Checking ignore v0.4.16
[INFO] [stderr]     Checking structopt v0.2.18
[INFO] [stderr]     Checking globwalk v0.3.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling structopt-derive v0.4.9
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking exitfailure v0.5.1
[INFO] [stderr]     Checking clap-verbosity-flag v0.2.0
[INFO] [stderr]     Checking structopt v0.3.16
[INFO] [stderr]     Checking quicli v0.4.0
[INFO] [stderr]     Checking json2struct v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     /// Input a json string, example: json2struct go '{"test":"test"}'
[INFO] [stdout] 21 | |     pub json: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     /// 是否添加 omitempty, example: json2struct go '{"test":"test"}' -o false
[INFO] [stdout] 24 | |     #[structopt(default_value = "true", short)]
[INFO] [stdout] 25 | |     pub omitempty: String,
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | /     /// 指定结构体名字, example: json2struct go '{"test":"test"}' -s TTTT
[INFO] [stdout] 28 | |     #[structopt(default_value = "XXX", short)]
[INFO] [stdout] 29 | |     pub struct_name:String,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | /     /// Input a json string, example: json2struct rust '{"test":"test"}'
[INFO] [stdout] 36 | |     pub json: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | /     /// 是否添加 pub, example: json2struct rust '{"test":"test"}' -p false
[INFO] [stdout] 39 | |     #[structopt(default_value = "true", short)]
[INFO] [stdout] 40 | |     pub public: String,
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     /// 添加 derive, example: json2struct rust '{"test":"test"}' -d '#[derive(Debug)]'
[INFO] [stdout] 43 | |     #[structopt(default_value = "#[derive(Debug)]", short)]
[INFO] [stdout] 44 | |     pub derive: String,
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     /// 是否允许字段为驼峰 camel, example: json2struct rust '{"test":"test"}' -c true
[INFO] [stdout] 47 | |     #[structopt(default_value = "false", short)]
[INFO] [stdout] 48 | |     pub camel: String,
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /     /// 指定结构体名字, example: json2struct rust '{"test":"test"}' -s TTTT
[INFO] [stdout] 51 | |     #[structopt(default_value = "XXX", short)]
[INFO] [stdout] 52 | |     pub struct_name:String,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:71
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                       ^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:79
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                               ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:85:51
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let field = format!("    {} {}: {},", PUB, snake_key, cur_type);
[INFO] [stdout]    |                                                   ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     /// Input a json string, example: json2struct go '{"test":"test"}'
[INFO] [stdout] 21 | |     pub json: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     /// 是否添加 omitempty, example: json2struct go '{"test":"test"}' -o false
[INFO] [stdout] 24 | |     #[structopt(default_value = "true", short)]
[INFO] [stdout] 25 | |     pub omitempty: String,
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | /     /// 指定结构体名字, example: json2struct go '{"test":"test"}' -s TTTT
[INFO] [stdout] 28 | |     #[structopt(default_value = "XXX", short)]
[INFO] [stdout] 29 | |     pub struct_name:String,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | /     /// Input a json string, example: json2struct rust '{"test":"test"}'
[INFO] [stdout] 36 | |     pub json: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | /     /// 是否添加 pub, example: json2struct rust '{"test":"test"}' -p false
[INFO] [stdout] 39 | |     #[structopt(default_value = "true", short)]
[INFO] [stdout] 40 | |     pub public: String,
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     /// 添加 derive, example: json2struct rust '{"test":"test"}' -d '#[derive(Debug)]'
[INFO] [stdout] 43 | |     #[structopt(default_value = "#[derive(Debug)]", short)]
[INFO] [stdout] 44 | |     pub derive: String,
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     /// 是否允许字段为驼峰 camel, example: json2struct rust '{"test":"test"}' -c true
[INFO] [stdout] 47 | |     #[structopt(default_value = "false", short)]
[INFO] [stdout] 48 | |     pub camel: String,
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/json2struct/mod.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /     /// 指定结构体名字, example: json2struct rust '{"test":"test"}' -s TTTT
[INFO] [stdout] 51 | |     #[structopt(default_value = "XXX", short)]
[INFO] [stdout] 52 | |     pub struct_name:String,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:163:44
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let cur_key = format!("{}{}", key, INDEX);
[INFO] [stdout]     |                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |         if STRUCT_NAME.contains(&new_key) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             STRUCT_NAME.push(new_key.clone())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/golang.rs:65:87
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let field = format!("    {} {} `json:\"{}{}\"`", came_key, cur_type, key, OMITEMPTY);
[INFO] [stdout]    |                                                                                       ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:143:44
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let cur_key = format!("{}{}", key, INDEX);
[INFO] [stdout]     |                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if STRUCT_NAME.contains(&new_key) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             STRUCT_NAME.push(new_key.clone())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:64
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:71
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                       ^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:41:79
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let struct_header = format!("{}\n{}\n{} struct {} {}", CAMEL, DERIVE, PUB, struct_name, "{");
[INFO] [stdout]    |                                                                               ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/rust.rs:85:51
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let field = format!("    {} {}: {},", PUB, snake_key, cur_type);
[INFO] [stdout]    |                                                   ^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:163:44
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let cur_key = format!("{}{}", key, INDEX);
[INFO] [stdout]     |                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |         if STRUCT_NAME.contains(&new_key) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/json2struct/rust.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             STRUCT_NAME.push(new_key.clone())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/json2struct/golang.rs:65:87
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let field = format!("    {} {} `json:\"{}{}\"`", came_key, cur_type, key, OMITEMPTY);
[INFO] [stdout]    |                                                                                       ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:143:44
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let cur_key = format!("{}{}", key, INDEX);
[INFO] [stdout]     |                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if STRUCT_NAME.contains(&new_key) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/json2struct/golang.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             STRUCT_NAME.push(new_key.clone())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json2struct` (bin "json2struct" test) due to 8 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `json2struct` (bin "json2struct") due to 8 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0571cc9d9f55d0b6f778ec37d8c43d09497079073e1765c0223168f8d22279b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0571cc9d9f55d0b6f778ec37d8c43d09497079073e1765c0223168f8d22279b0", kill_on_drop: false }`
[INFO] [stdout] 0571cc9d9f55d0b6f778ec37d8c43d09497079073e1765c0223168f8d22279b0
