[INFO] fetching crate ritual 0.0.0... [INFO] testing ritual-0.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ritual 0.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ritual 0.0.0 [INFO] finished tweaking crates.io crate ritual 0.0.0 [INFO] tweaked toml for crates.io crate ritual 0.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ritual 0.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding clang v0.20.0 (available: v2.0.0) [INFO] [stderr] Adding derive_more v0.13.0 (available: v2.0.1) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding pathdiff v0.1.0 (available: v0.2.3) [INFO] [stderr] Adding ritual_common v0.0.0 (available: v0.4.0) [INFO] [stderr] Adding select v0.4.3 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59dda06fc2269ac02ad7cfeac2e942dd2a1d8e59d32553959ce6f2b8653b2651 [INFO] running `Command { std: "docker" "start" "-a" "59dda06fc2269ac02ad7cfeac2e942dd2a1d8e59d32553959ce6f2b8653b2651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59dda06fc2269ac02ad7cfeac2e942dd2a1d8e59d32553959ce6f2b8653b2651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dda06fc2269ac02ad7cfeac2e942dd2a1d8e59d32553959ce6f2b8653b2651", kill_on_drop: false }` [INFO] [stdout] 59dda06fc2269ac02ad7cfeac2e942dd2a1d8e59d32553959ce6f2b8653b2651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e900c3cc5aae5e93febdd48f0f7c4f00a309c940022ed7a8ac6e08b907b7530 [INFO] running `Command { std: "docker" "start" "-a" "7e900c3cc5aae5e93febdd48f0f7c4f00a309c940022ed7a8ac6e08b907b7530", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling clang v0.20.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling ritual_common v0.0.0 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling ritual v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolons [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Implementation of `cpp_to_rust` generator that [INFO] [stdout] 2 | | //! analyzes a C++ library and produces a Rust crate for it. [INFO] [stdout] 3 | | //! See [README] [INFO] [stdout] 4 | | //! (https://github.com/rust-qt/cpp_to_rust/tree/master/cpp_to_rust/cpp_to_rust_generator) [INFO] [stdout] ... | [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/type_allocation_places.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpp_ffi_generator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn run(mut data: &mut ProcessorData) -> Result<()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.23.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" "7e900c3cc5aae5e93febdd48f0f7c4f00a309c940022ed7a8ac6e08b907b7530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e900c3cc5aae5e93febdd48f0f7c4f00a309c940022ed7a8ac6e08b907b7530", kill_on_drop: false }` [INFO] [stdout] 7e900c3cc5aae5e93febdd48f0f7c4f00a309c940022ed7a8ac6e08b907b7530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb92972baa0393b2c9f255c7d8e8bca8ac10b2fbfd458ae136d6376431af9bf [INFO] running `Command { std: "docker" "start" "-a" "5fb92972baa0393b2c9f255c7d8e8bca8ac10b2fbfd458ae136d6376431af9bf", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolons [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Implementation of `cpp_to_rust` generator that [INFO] [stdout] 2 | | //! analyzes a C++ library and produces a Rust crate for it. [INFO] [stdout] 3 | | //! See [README] [INFO] [stdout] 4 | | //! (https://github.com/rust-qt/cpp_to_rust/tree/master/cpp_to_rust/cpp_to_rust_generator) [INFO] [stdout] ... | [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/type_allocation_places.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpp_ffi_generator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn run(mut data: &mut ProcessorData) -> Result<()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ritual v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolons [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Implementation of `cpp_to_rust` generator that [INFO] [stdout] 2 | | //! analyzes a C++ library and produces a Rust crate for it. [INFO] [stdout] 3 | | //! See [README] [INFO] [stdout] 4 | | //! (https://github.com/rust-qt/cpp_to_rust/tree/master/cpp_to_rust/cpp_to_rust_generator) [INFO] [stdout] ... | [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/type_allocation_places.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | pub function: Box Result<()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpp_ffi_generator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn run(mut data: &mut ProcessorData) -> Result<()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.23.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" "5fb92972baa0393b2c9f255c7d8e8bca8ac10b2fbfd458ae136d6376431af9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb92972baa0393b2c9f255c7d8e8bca8ac10b2fbfd458ae136d6376431af9bf", kill_on_drop: false }` [INFO] [stdout] 5fb92972baa0393b2c9f255c7d8e8bca8ac10b2fbfd458ae136d6376431af9bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf221386f02376ae859099b677bcf013597cc8286a5d40fcd7b54010f5ae0a38 [INFO] running `Command { std: "docker" "start" "-a" "cf221386f02376ae859099b677bcf013597cc8286a5d40fcd7b54010f5ae0a38", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolons [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / //! Implementation of `cpp_to_rust` generator that [INFO] [stderr] 2 | | //! analyzes a C++ library and produces a Rust crate for it. [INFO] [stderr] 3 | | //! See [README] [INFO] [stderr] 4 | | //! (https://github.com/rust-qt/cpp_to_rust/tree/master/cpp_to_rust/cpp_to_rust_generator) [INFO] [stderr] ... | [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/type_allocation_places.rs:28:6 [INFO] [stderr] | [INFO] [stderr] 28 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/processor.rs:91:23 [INFO] [stderr] | [INFO] [stderr] 91 | pub function: Box Result<()>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 | pub function: Box Result<()>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cpp_ffi_generator.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn run(mut data: &mut ProcessorData) -> Result<()> { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ritual` (lib) generated 4 warnings (run `cargo fix --lib -p ritual` to apply 2 suggestions) [INFO] [stderr] warning: `ritual` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.23.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/lib.rs (/opt/rustwide/target/debug/deps/ritual-186bd2c5b4fcf274) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test tests::cpp_ffi_data::argument_int ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_func ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_int_ptr ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal2 ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_meaning ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal1 ... 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_method::argument_types_equal6 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal8 ... ok [INFO] [stdout] test tests::cpp_method::c_signature_constructor ... ok [INFO] [stdout] test tests::cpp_method::c_signature_destructor ... ok [INFO] [stdout] test tests::cpp_method::c_signature_empty ... ok [INFO] [stdout] test tests::cpp_method::c_signature_method_returning_class ... ok [INFO] [stdout] test tests::cpp_method::c_signature_method_with_this ... ok [INFO] [stdout] test tests::cpp_method::c_signature_simple_func ... ok [INFO] [stdout] test tests::cpp_method::c_signature_static_method ... ok [INFO] [stdout] test tests::cpp_method::cpp_method_kind ... ok [INFO] [stdout] test tests::cpp_method::full_name_nested_class_method ... ok [INFO] [stdout] test tests::cpp_method::full_name_free_function_in_namespace ... ok [INFO] [stdout] test tests::cpp_method::full_name_method ... ok [INFO] [stdout] test tests::cpp_ffi_data::cpp_ffi_type_void ... ok [INFO] [stdout] test tests::cpp_operator::info1 ... ok [INFO] [stdout] test tests::cpp_method::full_name_static_method ... ok [INFO] [stdout] test tests::cpp_method::short_text1 ... ok [INFO] [stderr] [INFO] [stderr] thread 'tests::cpp_parser::derived_class_multiple' (55) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clang-0.20.0/src/lib.rs:1316:18: [INFO] [stderr] trying to construct an enum from an invalid value 0x15e [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x59bec4211e72 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x59bec4211e72 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x59bec4211e72 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x59bec4211e72 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x59bec42237ef - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x59bec42237ef - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x59bec41dace1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x59bec41dace1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x59bec41e88d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x59bec41edaff - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x59bec41ed959 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x59bec3ddadce - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 12: 0x59bec3ddadce - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x59bec41ee1bf - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 14: 0x59bec41ee1bf - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x59bec41ee01a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x59bec41e8a19 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x59bec41cea5d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x59bec422c1ad - core::panicking::panic_nounwind_fmt::runtime::h4ec66813e41e0d5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:120:22 [INFO] [stderr] 19: 0x59bec422c1ad - core::panicking::panic_nounwind_fmt::h104e567e1186279f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x59bec422c3e6 - core::panicking::panic_invalid_enum_construction::h9453eaedefafd3e2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:321:5 [INFO] [stderr] 21: 0x59bec40777fb - clang::Entity::get_kind::h5f20b28753d22876 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clang-0.20.0/src/lib.rs:1316:18 [INFO] [stderr] 22: 0x59bec3d21232 - ritual::cpp_parser::run_clang::h76ba861e7088df5b [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:252:30 [INFO] [stderr] 23: 0x59bec3d0cef4 - ritual::cpp_parser::run::hb95269c99d6536c0 [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:314:5 [INFO] [stderr] 24: 0x59bec3d2d148 - core::ops::function::Fn::call::hc8f8ac490376ec7b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:79:5 [INFO] [stderr] 25: 0x59bec3cb7803 - as core::ops::function::Fn>::call::h31a36de5b38b7d78 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 26: 0x59bec3d5c04d - ritual::processor::process::habd92308591d1078 [INFO] [stderr] at /opt/rustwide/workdir/src/processor.rs:288:13 [INFO] [stderr] 27: 0x59bec3c7094c - ritual::tests::cpp_parser::run_parser::h4aa6ffb2e542af8f [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:46:5 [INFO] [stderr] 28: 0x59bec3c78a02 - ritual::tests::cpp_parser::derived_class_multiple::hce591b88ee51eb83 [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:818:16 [INFO] [stderr] 29: 0x59bec3c790c7 - ritual::tests::cpp_parser::derived_class_multiple::{{closure}}::hd85899ef9c2b3def [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:817:28 [INFO] [stderr] 30: 0x59bec3d2e4a6 - core::ops::function::FnOnce::call_once::h48d6b90b74864ad8 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 31: 0x59bec3ddabab - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 32: 0x59bec3ddabab - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stderr] 33: 0x59bec3df07d5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stderr] 34: 0x59bec3df07d5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 35: 0x59bec3df07d5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 36: 0x59bec3df07d5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 37: 0x59bec3df07d5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 38: 0x59bec3df07d5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stderr] 39: 0x59bec3df07d5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stderr] 40: 0x59bec3dc6fe4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stderr] 41: 0x59bec3dc6fe4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 42: 0x59bec3dca98a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 43: 0x59bec3dca98a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 44: 0x59bec3dca98a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 45: 0x59bec3dca98a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 46: 0x59bec3dca98a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 47: 0x59bec3dca98a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 48: 0x59bec3dca98a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 49: 0x59bec41e399f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stderr] 50: 0x59bec41e399f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 51: 0x7b9d833b8aa4 - [INFO] [stderr] 52: 0x7b9d83445a34 - clone [INFO] [stderr] 53: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/ritual-186bd2c5b4fcf274` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "cf221386f02376ae859099b677bcf013597cc8286a5d40fcd7b54010f5ae0a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf221386f02376ae859099b677bcf013597cc8286a5d40fcd7b54010f5ae0a38", kill_on_drop: false }` [INFO] [stdout] cf221386f02376ae859099b677bcf013597cc8286a5d40fcd7b54010f5ae0a38