[INFO] fetching crate cpp_codegen 0.2.0...
[INFO] testing cpp_codegen-0.2.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate cpp_codegen 0.2.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate cpp_codegen 0.2.0
[INFO] finished tweaking crates.io crate cpp_codegen 0.2.0
[INFO] tweaked toml for crates.io crate cpp_codegen 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cpp_codegen 0.2.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 74 packages to highest compatible versions
[INFO] [stderr]       Adding clang v0.14.1 (available: v2.1.0)
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.7)
[INFO] [stderr]       Adding env_logger v0.4.3 (available: v0.11.11)
[INFO] [stderr]       Adding handlebars v0.25.3 (available: v6.4.4)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.34)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.3)
[INFO] [stderr]       Adding serde v0.9.15 (available: v1.0.229)
[INFO] [stderr]       Adding serde_derive v0.9.15 (available: v1.0.229)
[INFO] [stderr]       Adding serde_json v0.9.10 (available: v1.0.154)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cpp_codegen` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded remove_dir_all v0.5.3
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded tempdir v0.3.7
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded rand_core v0.3.2
[INFO] [stderr]   Downloaded num-traits v0.1.43
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded phf_codegen v0.7.24
[INFO] [stderr]   Downloaded pest v0.3.3
[INFO] [stderr]   Downloaded quote v0.3.15
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded vec_map v0.8.2
[INFO] [stderr]   Downloaded target_build_utils v0.3.1
[INFO] [stderr]   Downloaded rand_pcg v0.1.2
[INFO] [stderr]   Downloaded winapi-build v0.1.1
[INFO] [stderr]   Downloaded rand_isaac v0.1.1
[INFO] [stderr]   Downloaded itoa v0.3.4
[INFO] [stderr]   Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr]   Downloaded dtoa v0.4.8
[INFO] [stderr]   Downloaded strsim v0.8.0
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded libloading v0.3.4
[INFO] [stderr]   Downloaded phf_shared v0.7.24
[INFO] [stderr]   Downloaded phf_generator v0.7.24
[INFO] [stderr]   Downloaded rand_chacha v0.1.1
[INFO] [stderr]   Downloaded phf v0.7.24
[INFO] [stderr]   Downloaded rand_hc v0.1.0
[INFO] [stderr]   Downloaded bitflags v0.7.0
[INFO] [stderr]   Downloaded unicode-xid v0.0.4
[INFO] [stderr]   Downloaded serde_codegen_internals v0.14.2
[INFO] [stderr]   Downloaded rand v0.3.23
[INFO] [stderr]   Downloaded env_logger v0.4.3
[INFO] [stderr]   Downloaded siphasher v0.2.3
[INFO] [stderr]   Downloaded rand_xorshift v0.1.1
[INFO] [stderr]   Downloaded autocfg v0.1.8
[INFO] [stderr]   Downloaded glob v0.2.11
[INFO] [stderr]   Downloaded rand_core v0.4.3
[INFO] [stderr]   Downloaded ansi_term v0.12.1
[INFO] [stderr]   Downloaded cloudabi v0.0.3
[INFO] [stderr]   Downloaded rand_jitter v0.1.4
[INFO] [stderr]   Downloaded serde_derive v0.9.15
[INFO] [stderr]   Downloaded synom v0.11.3
[INFO] [stderr]   Downloaded log v0.3.9
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded clang-sys v0.13.0
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded rand_os v0.1.3
[INFO] [stderr]   Downloaded kernel32-sys v0.2.2
[INFO] [stderr]   Downloaded serde_json v0.9.10
[INFO] [stderr]   Downloaded handlebars v0.25.3
[INFO] [stderr]   Downloaded clang v0.14.1
[INFO] [stderr]   Downloaded syn v0.11.11
[INFO] [stderr]   Downloaded serde v0.9.15
[INFO] [stderr]   Downloaded rand v0.6.5
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded winapi v0.2.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00
[INFO] running `Command { std: "docker" "start" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cpp_codegen` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.5.1
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling pest v0.3.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling clang-sys v0.13.0
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling serde_codegen_internals v0.14.2
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling serde_derive v0.9.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling clang v0.14.1
[INFO] [stderr]    Compiling env_logger v0.4.3
[INFO] [stderr]    Compiling handlebars v0.25.3
[INFO] [stderr]    Compiling cpp_codegen v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/template.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(rc.writer.write(rendered.into_bytes().as_ref()));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |         .unwrap_or_else(|e| e.description().to_owned());
[INFO] [stdout]    |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 64 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout] 64 +         Err(e) => panic!("{:?}", e),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 74 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout] 74 +         Err(e) => panic!("{:?}", e),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/model.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Model` is not local
[INFO] [stdout]   |          `Serialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Model`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Interface` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Interface`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Method` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Argument` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Argument`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `TemplateParameter` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TemplateParameter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 20.51s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cpp_codegen` (manifest) generated 1 warning
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling cpp_codegen v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/template.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(rc.writer.write(rendered.into_bytes().as_ref()));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/response_file.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         try!(response_file.write(content.as_bytes()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/response_file.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let tmp_dir = try!(TempDir::new("cpp-codegen"));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/response_file.rs:77:33
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut response_file = try!(File::create(&response_file_path));
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |         .unwrap_or_else(|e| e.description().to_owned());
[INFO] [stdout]    |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 64 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout] 64 +         Err(e) => panic!("{:?}", e),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/main.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 74 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stdout] 74 +         Err(e) => panic!("{:?}", e),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/model.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Model` is not local
[INFO] [stdout]   |          `Serialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Model`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Interface` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Interface`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Method` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Argument` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Argument`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/model.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `TemplateParameter` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TemplateParameter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `cpp_codegen` (manifest) generated 1 warning
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]   --> src/main.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[macro_use]
[INFO] [stderr]    | ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/template.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     try!(rc.writer.write(rendered.into_bytes().as_ref()));
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/response_file.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |         try!(response_file.write(content.as_bytes()));
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/response_file.rs:75:23
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let tmp_dir = try!(TempDir::new("cpp-codegen"));
[INFO] [stderr]    |                       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/response_file.rs:77:33
[INFO] [stderr]    |
[INFO] [stderr] 77 |         let mut response_file = try!(File::create(&response_file_path));
[INFO] [stderr]    |                                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/main.rs:79:31
[INFO] [stderr]    |
[INFO] [stderr] 79 |         .unwrap_or_else(|e| e.description().to_owned());
[INFO] [stderr]    |                               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/main.rs:64:26
[INFO] [stderr]    |
[INFO] [stderr] 64 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 64 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stderr] 64 +         Err(e) => panic!("{:?}", e),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/main.rs:74:26
[INFO] [stderr]    |
[INFO] [stderr] 74 |         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 74 -         Err(e) => panic!(format!("{:?}", e)),
[INFO] [stderr] 74 +         Err(e) => panic!("{:?}", e),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/model.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stderr]   |          ^^^^^^^^^
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Model` is not local
[INFO] [stderr]   |          `Serialize` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Model`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/model.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Interface` is not local
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Interface`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/model.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Method` is not local
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Method`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/model.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Argument` is not local
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Argument`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/model.rs:34:10
[INFO] [stderr]    |
[INFO] [stderr] 34 | #[derive(Serialize, Debug, PartialEq, Clone)]
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `TemplateParameter` is not local
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TemplateParameter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `cpp_codegen` (bin "cpp_codegen" test) generated 13 warnings (run `cargo fix --bin "cpp_codegen" -p cpp_codegen --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/cpp_codegen-8477a1e12980c667)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test cmdline::should_recognize_compiler_flags ... ok
[INFO] [stdout] test cmdline::should_recognize_verbosity_flags ... ok
[INFO] [stdout] test response_file::tests::should_read_multiple_files_with_intermixed_args ... ok
[INFO] [stdout] test parser_tests::tests::should_list_template_parameters ... FAILED
[INFO] [stdout] test response_file::tests::should_read_single_file ... ok
[INFO] [stdout] test parser_tests::tests::should_not_include_destructors ... FAILED
[INFO] [stdout] test response_file::tests::should_leave_sequence_without_file_unaltered ... ok
[INFO] [stdout] test parser_tests::tests::should_list_namespaces ... FAILED
[INFO] [stdout] test cmdline::should_parse_template_arguments ... ok
[INFO] [stdout] test parser_tests::tests::should_parse_template_methods ... FAILED
[INFO] [stdout] test parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments ... FAILED
[INFO] [stdout] test parser_tests::tests::should_parse_arguments_with_namespaced_types ... FAILED
[INFO] [stdout] test parser_tests::tests::should_support_response_file ... FAILED
[INFO] [stdout] test parser_tests::tests::should_parse_template_class ... FAILED
[INFO] [stdout] test parser_tests::tests::should_parse ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_list_template_parameters stdout ----
[INFO] [stdout] input: "\nnamespace foo { namespace bar {\n\ntemplate <typename T, typename U, class V>\nclass Baz {\n    virtual ~Baz() = default;\n    Baz(const Baz&) = delete;\n    virtual bool boo() = 0;\n};\n\n}}\n" args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_list_template_parameters' (946) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe5287 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_list_template_parameters
[INFO] [stdout]   14:     0x55d26fbdcb09 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_list_template_parameters::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_not_include_destructors stdout ----
[INFO] [stdout] input: "\nnamespace foo { namespace sample {\n\nstruct Interface {\n    virtual ~Interface() = default;\n    virtual void method(int foo) = 0;\n    virtual int foo(double bar) = 0;\n    virtual bool baz() {return true};\n};\n\n}}\n" args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_not_include_destructors' (947) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe4ea7 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_not_include_destructors
[INFO] [stdout]   14:     0x55d26fbdcae9 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_not_include_destructors::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_list_namespaces stdout ----
[INFO] [stdout] input: "\nnamespace foo { namespace sample {\n\nstruct Interface {\n    virtual ~Interface() = default;\n    virtual void method(int foo) = 0;\n    virtual int foo(double bar) = 0;\n    virtual bool baz() {return true};\n};\n\n}}\n" args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_list_namespaces' (945) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe39d1 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_list_namespaces
[INFO] [stdout]   14:     0x55d26fbdca69 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_list_namespaces::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_parse_template_methods stdout ----
[INFO] [stdout] input: "\n            struct Foo {\n                template <typename T> void foo(T bar);\n            };\n            " args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_parse_template_methods' (951) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe4a65 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_template_methods
[INFO] [stdout]   14:     0x55d26fbdcac9 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_template_methods::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments stdout ----
[INFO] [stdout] input: "\n            struct Foo {\n                virtual void noArgumentName(double) = 0;\n            };\n            " args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments' (944) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe5c91 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments
[INFO] [stdout]   14:     0x55d26fbdcb49 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_parse_arguments_with_namespaced_types stdout ----
[INFO] [stdout] input: "\n           namespace a { namespace b {\n             using c = int;\n           }}\n\n           struct A {\n               virtual void method(a::b::c abc);\n           };\n           " args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_parse_arguments_with_namespaced_types' (949) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe5853 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_arguments_with_namespaced_types
[INFO] [stdout]   14:     0x55d26fbdcb29 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_arguments_with_namespaced_types::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_support_response_file stdout ----
[INFO] [stdout] read from response file: ["-x", "c++", "-std=c++14", "-DFLAG"]
[INFO] [stdout] input: "\n           #ifdef FLAG\n           struct A {\n               virtual void method(int abc);\n           };\n           #endif\n       " args: ["-x", "c++", "-std=c++14", "-DFLAG"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_support_response_file' (952) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe4674 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_support_response_file
[INFO] [stdout]   13:     0x55d26fbdcaa9 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_support_response_file::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   15:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   16:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   20:     0x7f52750603d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- parser_tests::tests::should_parse_template_class stdout ----
[INFO] [stdout] input: "\nnamespace foo { namespace bar {\n\ntemplate <typename T, typename U, class V>\nclass Baz {\n    virtual ~Baz() = default;\n    Baz(const Baz&) = delete;\n    virtual bool boo() = 0;\n};\n\n}}\n" args: ["-x", "c++", "-std=c++14"]
[INFO] [stdout] 
[INFO] [stdout] thread 'parser_tests::tests::should_parse_template_class' (950) panicked at src/parser_tests.rs:51:34:
[INFO] [stdout] instantiate clang: "an instance of `Clang` already exists"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55d26fca7851 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55d26fcbce4a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x55d26fcac08c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55d26fc82936 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55d26fc9f7f9 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x55d26fbf2f00 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55d26fc9f9b2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55d26fc829e2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55d26fc7b5c9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55d26fc8365d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x55d26fcbd57c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55d26fcbd352 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x55d26fbe3763 - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::create_model
[INFO] [stdout]   13:     0x55d26fbe3ccf - cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_template_class
[INFO] [stdout]   14:     0x55d26fbdca89 - <cpp_codegen[9d85d6a5b3f61bfc]::parser_tests::tests::should_parse_template_class::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55d26fbe61eb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x55d26fbf3855 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55d26fbed114 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55d26fbf69b2 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55d26fca7129 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f5274fccdfa - <unknown>
[INFO] [stdout]   21:     0x7f52750603d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     parser_tests::tests::should_generate_random_names_for_anonymous_method_arguments
[INFO] [stdout]     parser_tests::tests::should_list_namespaces
[INFO] [stdout]     parser_tests::tests::should_list_template_parameters
[INFO] [stdout]     parser_tests::tests::should_not_include_destructors
[INFO] [stdout]     parser_tests::tests::should_parse_arguments_with_namespaced_types
[INFO] [stdout]     parser_tests::tests::should_parse_template_class
[INFO] [stdout]     parser_tests::tests::should_parse_template_methods
[INFO] [stdout]     parser_tests::tests::should_support_response_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 7 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cpp_codegen`
[INFO] running `Command { std: "docker" "inspect" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00", kill_on_drop: false }`
[INFO] [stdout] 3a9c9d649658ec9987f503c7d186b8515c8efb5c50e89b15a58fcb07256bcb00
