[INFO] cloning repository https://github.com/ptechen/json2struct
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ptechen/json2struct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptechen%2Fjson2struct", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptechen%2Fjson2struct'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6a7dfd290a5f98b759b0736289c6e6bf2eaa4c9
[INFO] building ptechen/json2struct against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptechen%2Fjson2struct" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ptechen/json2struct
[INFO] finished tweaking git repo https://github.com/ptechen/json2struct
[INFO] tweaked toml for git repo https://github.com/ptechen/json2struct written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ptechen/json2struct on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ptechen/json2struct 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.19
[INFO] [stderr]   Downloaded structopt v0.3.16
[INFO] [stderr]   Downloaded hermit-abi v0.1.15
[INFO] [stderr]   Downloaded heck v0.3.1
[INFO] [stderr]   Downloaded memoffset v0.5.5
[INFO] [stderr]   Downloaded either v1.6.0
[INFO] [stderr]   Downloaded rayon-core v1.7.1
[INFO] [stderr]   Downloaded ignore v0.4.16
[INFO] [stderr]   Downloaded structopt-derive v0.2.18
[INFO] [stderr]   Downloaded addr2line v0.13.0
[INFO] [stderr]   Downloaded serde_json v1.0.57
[INFO] [stderr]   Downloaded miniz_oxide v0.4.0
[INFO] [stderr]   Downloaded rayon v1.3.1
[INFO] [stderr]   Downloaded serde v1.0.115
[INFO] [stderr]   Downloaded regex v1.3.9
[INFO] [stderr]   Downloaded regex-syntax v0.6.18
[INFO] [stderr]   Downloaded aho-corasick v0.7.13
[INFO] [stderr]   Downloaded libc v0.2.74
[INFO] [stderr]   Downloaded backtrace v0.3.50
[INFO] [stderr]   Downloaded bstr v0.2.13
[INFO] [stderr]   Downloaded object v0.20.0
[INFO] [stderr]   Downloaded globset v0.4.5
[INFO] [stderr]   Downloaded globwalk v0.3.1
[INFO] [stderr]   Downloaded quicli v0.4.0
[INFO] [stderr]   Downloaded unicode-segmentation v1.6.0
[INFO] [stderr]   Downloaded clap-verbosity-flag v0.2.0
[INFO] [stderr]   Downloaded exitfailure v0.5.1
[INFO] [stderr]   Downloaded syn v1.0.38
[INFO] [stderr]   Downloaded serde_derive v1.0.115
[INFO] [stderr]   Downloaded structopt-derive v0.4.9
[INFO] [stderr]   Downloaded gimli v0.22.0
[INFO] [stderr]   Downloaded structopt v0.2.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 382586f2c0067f755d1fb639c7603f22dd7e66eab70bc6a2c6b88865a4ec816c
[INFO] running `Command { std: "docker" "start" "-a" "382586f2c0067f755d1fb639c7603f22dd7e66eab70bc6a2c6b88865a4ec816c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "382586f2c0067f755d1fb639c7603f22dd7e66eab70bc6a2c6b88865a4ec816c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "382586f2c0067f755d1fb639c7603f22dd7e66eab70bc6a2c6b88865a4ec816c", kill_on_drop: false }`
[INFO] [stdout] 382586f2c0067f755d1fb639c7603f22dd7e66eab70bc6a2c6b88865a4ec816c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88ff369dc5a73f41d5b55431443037340811af96c490ff70de17037083f28297
[INFO] running `Command { std: "docker" "start" "-a" "88ff369dc5a73f41d5b55431443037340811af96c490ff70de17037083f28297", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling structopt v0.2.18
[INFO] [stderr]    Compiling globset v0.4.5
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling ignore v0.4.16
[INFO] [stderr]    Compiling 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]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling exitfailure v0.5.1
[INFO] [stderr]    Compiling clap-verbosity-flag v0.2.0
[INFO] [stderr]    Compiling structopt v0.3.16
[INFO] [stderr]    Compiling quicli v0.4.0
[INFO] [stderr]    Compiling json2struct v0.1.6 (/opt/rustwide/workdir)
[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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.35s
[INFO] running `Command { std: "docker" "inspect" "88ff369dc5a73f41d5b55431443037340811af96c490ff70de17037083f28297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88ff369dc5a73f41d5b55431443037340811af96c490ff70de17037083f28297", kill_on_drop: false }`
[INFO] [stdout] 88ff369dc5a73f41d5b55431443037340811af96c490ff70de17037083f28297
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6397296dd029538f8b884ad6546f0fb0ef9d652334fabe65bddb838007c39c27
[INFO] running `Command { std: "docker" "start" "-a" "6397296dd029538f8b884ad6546f0fb0ef9d652334fabe65bddb838007c39c27", kill_on_drop: false }`
[INFO] [stderr]    Compiling json2struct v0.1.6 (/opt/rustwide/workdir)
[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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "6397296dd029538f8b884ad6546f0fb0ef9d652334fabe65bddb838007c39c27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6397296dd029538f8b884ad6546f0fb0ef9d652334fabe65bddb838007c39c27", kill_on_drop: false }`
[INFO] [stdout] 6397296dd029538f8b884ad6546f0fb0ef9d652334fabe65bddb838007c39c27
