[INFO] crate cpp_to_rust_generator 0.2.0 is already in cache [INFO] testing cpp_to_rust_generator-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate cpp_to_rust_generator 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cpp_to_rust_generator 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cpp_to_rust_generator 0.2.0 [INFO] removed path dependency cpp_to_rust_common from crates.io crate cpp_to_rust_generator 0.2.0 [INFO] finished tweaking crates.io crate cpp_to_rust_generator 0.2.0 [INFO] tweaked toml for crates.io crate cpp_to_rust_generator 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 565544e0805d2578697ceb7ef5c248199e6d9965be14a94d7806cf3598e5965f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "565544e0805d2578697ceb7ef5c248199e6d9965be14a94d7806cf3598e5965f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "565544e0805d2578697ceb7ef5c248199e6d9965be14a94d7806cf3598e5965f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565544e0805d2578697ceb7ef5c248199e6d9965be14a94d7806cf3598e5965f", kill_on_drop: false }` [INFO] [stdout] 565544e0805d2578697ceb7ef5c248199e6d9965be14a94d7806cf3598e5965f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37caaf989c65102db19dbeebd623a77a883f727fd0b0116f6ed3eceb640eb2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c37caaf989c65102db19dbeebd623a77a883f727fd0b0116f6ed3eceb640eb2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling multimap v0.3.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v0.1.3 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling utf-8 v0.6.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling clang-sys v0.15.2 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling tendril v0.2.4 [INFO] [stderr] Compiling strings v0.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling syntex_pos v0.44.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling syntex_errors v0.44.0 [INFO] [stderr] Compiling rustfmt v0.6.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling clang v0.16.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling syntex_syntax v0.44.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling error-chain v0.5.0 [INFO] [stderr] Compiling bincode v0.7.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.2.29 [INFO] [stderr] Compiling html5ever v0.5.4 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling cpp_to_rust_common v0.2.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling select v0.3.0 [INFO] [stderr] Compiling cpp_to_rust_generator v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | struct CppFfiGeneratorFilter(Box Result>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_generator.rs:1355:19 [INFO] [stdout] | [INFO] [stdout] 1355 | if let Some(mut b) = buckets [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "c37caaf989c65102db19dbeebd623a77a883f727fd0b0116f6ed3eceb640eb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37caaf989c65102db19dbeebd623a77a883f727fd0b0116f6ed3eceb640eb2b", kill_on_drop: false }` [INFO] [stdout] c37caaf989c65102db19dbeebd623a77a883f727fd0b0116f6ed3eceb640eb2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97b096deb4cab441b812fa5efce112099574a7870c42a1bb3f6507bbd73e1659 [INFO] running `Command { std: "docker" "start" "-a" "97b096deb4cab441b812fa5efce112099574a7870c42a1bb3f6507bbd73e1659", kill_on_drop: false }` [INFO] [stderr] Compiling cpp_to_rust_generator v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | struct CppFfiGeneratorFilter(Box Result>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_generator.rs:1355:19 [INFO] [stdout] | [INFO] [stdout] 1355 | if let Some(mut b) = buckets [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | struct CppFfiGeneratorFilter(Box Result>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/cpp_parser.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust_generator.rs:1355:19 [INFO] [stdout] | [INFO] [stdout] 1355 | if let Some(mut b) = buckets [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.71s [INFO] running `Command { std: "docker" "inspect" "97b096deb4cab441b812fa5efce112099574a7870c42a1bb3f6507bbd73e1659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b096deb4cab441b812fa5efce112099574a7870c42a1bb3f6507bbd73e1659", kill_on_drop: false }` [INFO] [stdout] 97b096deb4cab441b812fa5efce112099574a7870c42a1bb3f6507bbd73e1659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3598ff910c7d1b6141ad842ce38d61917e2de8db2b8cc4f9cfc98634b788ae4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3598ff910c7d1b6141ad842ce38d61917e2de8db2b8cc4f9cfc98634b788ae4f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | struct CppFfiGeneratorFilter(Box Result>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>` [INFO] [stderr] [INFO] [stderr] warning: the item `std` is imported redundantly [INFO] [stderr] --> src/cpp_parser.rs:169:7 [INFO] [stderr] | [INFO] [stderr] 169 | use std; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rust_generator.rs:1355:19 [INFO] [stderr] | [INFO] [stderr] 1355 | if let Some(mut b) = buckets [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | pub type CppFfiGeneratorFilterFn = Fn(&CppMethod) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | struct CppFfiGeneratorFilter(Box Result>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&CppMethod) -> Result` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | pub type CppDataFilterFn = Fn(&mut CppData) -> Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CppData) -> Result<()>` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rust_generator.rs:1355:19 [INFO] [stderr] | [INFO] [stderr] 1355 | if let Some(mut b) = buckets [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cpp_to_rust_generator-b2b52025934aaf41 [INFO] [stdout] [INFO] [stdout] running 91 tests [INFO] [stdout] test rust_generator::prepare_enum_values_test_duplicates ... ok [INFO] [stdout] test rust_generator::remove_qt_prefix_and_convert_case_test ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_suffix ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_prefix_digits ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_suffix_empty ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_prefix ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_meaning ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_int ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_simple ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_func ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_free_func_operator ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_conversion_operator ... ok [INFO] [stdout] test rust_generator::prepare_enum_values_test_suffix_partial ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_free_func ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_int_ptr ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_class_method ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_free_func_in_namespace ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_class_method_operator ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal6 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal1 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal2 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal3 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal4 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal5 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal7 ... ok [INFO] [stdout] test tests::cpp_ffi_data::cpp_ffi_type_void ... ok [INFO] [stdout] test tests::cpp_method::c_signature_method_returning_class ... ok [INFO] [stdout] test tests::cpp_method::c_signature_simple_func ... ok [INFO] [stdout] test tests::cpp_method::cpp_method_kind ... ok [INFO] [stdout] test tests::cpp_method::c_signature_static_method ... ok [INFO] [stdout] test tests::cpp_method::full_name_free_function_in_namespace ... ok [INFO] [stdout] test tests::cpp_ffi_data::signature_two_numbers ... ok [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_class_method_in_namespace ... ok [INFO] [stdout] test tests::cpp_method::c_signature_constructor ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_method::c_signature_method_with_this ... ok [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_method::c_signature_destructor ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_ffi_data::signature_class_method_const ... ok [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_ffi_data::signature_class_method ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_method::argument_types_equal8 ... ok [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_method::c_signature_empty ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_method::full_name_method ... ok [INFO] [stderr] Initializing clang... [INFO] [stdout] test rust_generator::calculate_rust_name_test ... ok [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.PMOUjXCB2l4x/include"] [INFO] [stdout] test tests::cpp_method::full_name_static_method ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_method::short_text1 ... ok [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_operator::info1 ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stdout] test tests::cpp_method::full_name_nested_class_method ... ok [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] Parsing types [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_constructor ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_ffi_data::c_base_name_destructor ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_parser::derived_class_simple_virtual ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.df5QUxl0tehX/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::simple_class_method ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.5sr5qjHEn8D2/include"] [INFO] [stdout] test tests::cpp_parser::simple_enum ... ok [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.WR3c0me59VcU/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.DeN2wl9Z8FZH/include"] [INFO] [stdout] test tests::cpp_parser::simple_enum2 ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] Parsing types [INFO] [stderr] Failed to parse class: QAtomicOpsSupport [INFO] [stderr] entity: Entity { kind: ClassTemplate, display_name: Some("QAtomicOpsSupport"), location: Some(SourceLocation { file: Some(File { path: "/tmp/test_cpp_parser_run.DeN2wl9Z8FZH/include/myfakelib.h" }), line: 1, column: 22, offset: 21 }) } [INFO] [stderr] error: Non-type template parameter is not supported [INFO] [stderr] [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_parser::non_type_template_parameter ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.o4f4VRFY0qdu/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::simple_func_with_default_value ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.tgOV7v4PNKKG/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Failed to parse class: MyVector::Iterator [INFO] [stderr] entity: Entity { kind: ClassDecl, display_name: Some("Iterator"), location: Some(SourceLocation { file: Some(File { path: "/tmp/test_cpp_parser_run.tgOV7v4PNKKG/include/myfakelib.h" }), line: 5, column: 13, offset: 64 }) } [INFO] [stderr] error: Failed to request size, but the class is not a template class [INFO] [stderr] [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.XhjAYilk5SWI/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Method is removed: MyVector::Iterator MyVector::begin(): unknown type: MyVector::Iterator [INFO] [stderr] Searching for template instantiations [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_parser::functions_with_class_arg ... ok [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.fh3eOOp7ZN0w/include"] [INFO] [stdout] test tests::cpp_parser::template_class_method ... ok [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stdout] test tests::cpp_parser::template_class_template_method ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.1ECNmoHR3QSv/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::template_instantiation ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] Found template instantiation: Vector<[CppType { base: BuiltInNumeric(Int), indirection: None, is_const: false, is_const2: false }]> [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.adXjiigf9wDx/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::variadic_func ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_type::bool_ptr ... ok [INFO] [stdout] test tests::cpp_type::char_ptr_ptr ... ok [INFO] [stdout] test tests::cpp_type::class_const_ref ... ok [INFO] [stdout] test tests::cpp_type::class_mut_ptr ... ok [INFO] [stdout] test tests::cpp_type::class_mut_ref ... ok [INFO] [stdout] test tests::cpp_type::class_value ... ok [INFO] [stdout] test tests::cpp_type::class_with_template_args ... ok [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.EVVDVVtZX7H2/include"] [INFO] [stdout] test tests::cpp_type::enum1 ... ok [INFO] [stdout] test tests::cpp_type::function1 ... ok [INFO] [stdout] test tests::cpp_type::instantiate1 ... ok [INFO] [stderr] Parsing types [INFO] [stdout] test tests::cpp_type::int ... ok [INFO] [stdout] test tests::cpp_type::nested_template_cpp_code ... ok [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_type::qflags ... ok [INFO] [stdout] test tests::cpp_type::qint64 ... ok [INFO] [stdout] test tests::cpp_type::quintptr ... ok [INFO] [stdout] test tests::cpp_type::template_parameter ... ok [INFO] [stdout] test tests::cpp_type::void ... ok [INFO] [stdout] test tests::cpp_type::void_ptr ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_parser::free_template_func ... ok [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.bXvslpkMZRL7/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::derived_class_multiple ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.jyW2rWJesqoQ/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::full_run::full_run ... FAILED [INFO] [stderr] Checking data integrity [INFO] [stdout] test tests::cpp_parser::template_class_with_base ... ok [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.2ibZxrm9ACii/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_parser::derived_class_simple_private ... ok [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.9fToFlhlILk1/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Method is removed: int func1(SomeClass* x): unknown type: SomeClass [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.GR3cMqI1ejQD/include"] [INFO] [stderr] Parsing types [INFO] [stdout] test tests::cpp_parser::func_with_unknown_type ... ok [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::derived_class_simple ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.Eu6xz92b8zhA/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::advanced_class_methods ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.YDgBc9BomyZq/include"] [INFO] [stderr] Parsing types [INFO] [stderr] failed to parse class field: failed to parse field type: X::field::field [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stdout] test tests::cpp_parser::anon_enum ... ok [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.CAkNelKAKrJy/include"] [INFO] [stdout] test tests::cpp_parser::complex_const_types ... ok [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.iPSCwUNwNnJE/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::class_with_use ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.LDST2vWaECcS/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang version 10.0.0-4ubuntu1 [INFO] [stderr] Initializing clang... [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.jJ1pgKDBOmKP/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::free_func_operator_sub ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.3mbK3ZnKBulh/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::simple_func ... ok [INFO] [stderr] Checking data integrity [INFO] [stderr] Searching for template instantiations [INFO] [stderr] clang arguments: ["-Xclang", "-detailed-preprocessing-record", "-I", "/tmp/test_cpp_parser_run.hD0f3BzRHbHJ/include"] [INFO] [stderr] Parsing types [INFO] [stderr] Parsing methods [INFO] [stdout] test tests::cpp_parser::fixed_size_integers ... ok [INFO] [stderr] Checking data integrity [INFO] [stdout] [INFO] [stderr] Searching for template instantiations [INFO] [stdout] failures: [INFO] [stderr] Found template instantiation: QVector<[CppType { base: SpecificNumeric(CppSpecificNumericType { name: "GLuint64", bits: 64, kind: Integer { is_signed: false } }), indirection: None, is_const: false, is_const2: false }]> [INFO] [stdout] [INFO] [stdout] ---- tests::full_run::full_run stdout ---- [INFO] [stdout] thread 'tests::full_run::full_run' panicked at 'assertion failed: cpp_lib_source_dir.exists()', src/tests/full_run.rs:20:3 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5574a0183eb5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5574a0183eb5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5574a0183eb5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5574a0183eb5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5574a01b01ec - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55749faed725 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5574a017cc21 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5574a0186b00 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5574a0186b00 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5574a0186b00 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5574a01867fa - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5574a0187143 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x55749fb86bd9 - std::panicking::begin_panic::h3742d622d4e6de1c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:456 [INFO] [stdout] 13: 0x55749f82b85b - cpp_to_rust_generator::tests::full_run::build_cpp_lib::h47b569ee58adf3e2 [INFO] [stdout] at src/tests/full_run.rs:20 [INFO] [stdout] 14: 0x55749f82c614 - cpp_to_rust_generator::tests::full_run::full_run::hdf589f93264a91b6 [INFO] [stdout] at src/tests/full_run.rs:44 [INFO] [stdout] 15: 0x55749f82c5ca - cpp_to_rust_generator::tests::full_run::full_run::{{closure}}::hd7f1904645de6a83 [INFO] [stdout] at src/tests/full_run.rs:43 [INFO] [stdout] 16: 0x55749f86e33e - core::ops::function::FnOnce::call_once::h178b5eec3b6fd74f [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x55749fb14c9c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x55749fb14c9c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55749fb14c9c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x55749fb14c9c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x55749fb14c9c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55749fb14c9c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55749fb14c9c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x55749faecc16 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x55749faf1c05 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x55749faf1c05 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x55749faf1c05 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x55749faf1c05 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x55749faf1c05 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x55749faf1c05 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x55749faf1c05 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x5574a018f11a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x5574a018f11a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5574a018f11a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fb6cc2c0609 - start_thread [INFO] [stdout] 36: 0x7fb6cc1cc103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_run::full_run [INFO] [stdout] [INFO] [stdout] test result: FAILED. 90 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "3598ff910c7d1b6141ad842ce38d61917e2de8db2b8cc4f9cfc98634b788ae4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3598ff910c7d1b6141ad842ce38d61917e2de8db2b8cc4f9cfc98634b788ae4f", kill_on_drop: false }` [INFO] [stdout] 3598ff910c7d1b6141ad842ce38d61917e2de8db2b8cc4f9cfc98634b788ae4f