[INFO] fetching crate ritual 0.0.0... [INFO] testing ritual-0.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ritual 0.0.0 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ritual 0.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang v0.20.0 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded ritual_common v0.0.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded derive_more v0.13.0 [INFO] [stderr] Downloaded clang-sys v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b82e38bdcb81888dd7ba4328bdb43af11aa8da0bd8c375fc577bc0a2d3945f8f [INFO] running `Command { std: "docker" "start" "-a" "b82e38bdcb81888dd7ba4328bdb43af11aa8da0bd8c375fc577bc0a2d3945f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b82e38bdcb81888dd7ba4328bdb43af11aa8da0bd8c375fc577bc0a2d3945f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82e38bdcb81888dd7ba4328bdb43af11aa8da0bd8c375fc577bc0a2d3945f8f", kill_on_drop: false }` [INFO] [stdout] b82e38bdcb81888dd7ba4328bdb43af11aa8da0bd8c375fc577bc0a2d3945f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee3fdc15244f6c445a01e560396975c493124732b1c92ec93575f2040e258e0 [INFO] running `Command { std: "docker" "start" "-a" "cee3fdc15244f6c445a01e560396975c493124732b1c92ec93575f2040e258e0", 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 syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.8 [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 precomputed-hash v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [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 rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling clang v0.20.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling backtrace v0.3.76 [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 html5ever v0.23.0 [INFO] [stderr] Compiling derive_more v0.13.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 24.14s [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" "cee3fdc15244f6c445a01e560396975c493124732b1c92ec93575f2040e258e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee3fdc15244f6c445a01e560396975c493124732b1c92ec93575f2040e258e0", kill_on_drop: false }` [INFO] [stdout] cee3fdc15244f6c445a01e560396975c493124732b1c92ec93575f2040e258e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78aed3984d700a2e9d2ade0a5f1cb2fe1d4f557c3c0e01e5fed2c8dab5589ca0 [INFO] running `Command { std: "docker" "start" "-a" "78aed3984d700a2e9d2ade0a5f1cb2fe1d4f557c3c0e01e5fed2c8dab5589ca0", 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 5.10s [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" "78aed3984d700a2e9d2ade0a5f1cb2fe1d4f557c3c0e01e5fed2c8dab5589ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78aed3984d700a2e9d2ade0a5f1cb2fe1d4f557c3c0e01e5fed2c8dab5589ca0", kill_on_drop: false }` [INFO] [stdout] 78aed3984d700a2e9d2ade0a5f1cb2fe1d4f557c3c0e01e5fed2c8dab5589ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b857119aa8777266ebbbc4c6cbacddc54f4b3e78ae9edf77b702447e27441e87 [INFO] running `Command { std: "docker" "start" "-a" "b857119aa8777266ebbbc4c6cbacddc54f4b3e78ae9edf77b702447e27441e87", 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.12s [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_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_ffi_data::cpp_ffi_type_void ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal2 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal5 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal6 ... ok [INFO] [stdout] test tests::cpp_ffi_data::argument_meaning ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal7 ... 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_simple_func ... ok [INFO] [stdout] test tests::cpp_method::c_signature_static_method ... ok [INFO] [stdout] test tests::cpp_method::c_signature_method_returning_class ... 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_method ... ok [INFO] [stdout] test tests::cpp_method::full_name_free_function_in_namespace ... ok [INFO] [stdout] test tests::cpp_operator::info1 ... ok [INFO] [stdout] test tests::cpp_method::short_text1 ... ok [INFO] [stdout] test tests::cpp_method::full_name_static_method ... ok [INFO] [stdout] test tests::cpp_method::c_signature_method_with_this ... ok [INFO] [stderr] [INFO] [stderr] thread 'tests::cpp_parser::complex_const_types' (54) 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: 0x63b85ba8d722 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x63b85ba8d722 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x63b85ba8d722 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x63b85ba8d722 - ::fmt::h52160e9da139e442 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x63b85ba9f09f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x63b85ba9f09f - core::fmt::write::hf09a056a304e021a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x63b85ba562f1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x63b85ba562f1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x63b85ba64182 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x63b85ba693af - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x63b85ba69209 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x63b85b653dae - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 12: 0x63b85b653dae - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x63b85ba69a6f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 14: 0x63b85ba69a6f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x63b85ba698ca - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x63b85ba642b9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x63b85ba4a30d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x63b85baa7a5d - core::panicking::panic_nounwind_fmt::runtime::h9268deeca22cb559 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:120:22 [INFO] [stderr] 19: 0x63b85baa7a5d - core::panicking::panic_nounwind_fmt::h69113462a187fdbc [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x63b85baa7c96 - core::panicking::panic_invalid_enum_construction::h8f14cfd9a08d6f7b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:321:5 [INFO] [stderr] 21: 0x63b85b8f040b - clang::Entity::get_kind::h423643b79a1d4ae4 [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: 0x63b85b5c9092 - ritual::cpp_parser::run_clang::hd3bc0c719fc8d6bd [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:252:30 [INFO] [stderr] 23: 0x63b85b5b4d54 - ritual::cpp_parser::run::hafa3c5fd091d4d7d [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:314:5 [INFO] [stderr] 24: 0x63b85b5848e8 - core::ops::function::Fn::call::hdf333a9e87956890 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:79:5 [INFO] [stderr] 25: 0x63b85b5307c3 - as core::ops::function::Fn>::call::h7de99f0e32acdf17 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 26: 0x63b85b5e92bd - ritual::processor::process::hcaff419200aa0115 [INFO] [stderr] at /opt/rustwide/workdir/src/processor.rs:288:13 [INFO] [stderr] 27: 0x63b85b4e990c - ritual::tests::cpp_parser::run_parser::h947ffb27b24c4c4c [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:46:5 [INFO] [stderr] 28: 0x63b85b4ecbf0 - ritual::tests::cpp_parser::complex_const_types::h58311fac4eedbf41 [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:850:16 [INFO] [stderr] 29: 0x63b85b4ed847 - ritual::tests::cpp_parser::complex_const_types::{{closure}}::hd8695780580169ff [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:849:25 [INFO] [stderr] 30: 0x63b85b585b56 - core::ops::function::FnOnce::call_once::h45f13abe2126df39 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 31: 0x63b85b653bdb - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 32: 0x63b85b653bdb - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stderr] 33: 0x63b85b6697b5 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stderr] 34: 0x63b85b6697b5 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 35: 0x63b85b6697b5 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 36: 0x63b85b6697b5 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 37: 0x63b85b6697b5 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 38: 0x63b85b6697b5 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stderr] 39: 0x63b85b6697b5 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stderr] 40: 0x63b85b63ffc4 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stderr] 41: 0x63b85b63ffc4 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 42: 0x63b85b64388a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 43: 0x63b85b64388a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 44: 0x63b85b64388a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 45: 0x63b85b64388a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 46: 0x63b85b64388a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 47: 0x63b85b64388a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 48: 0x63b85b64388a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 49: 0x63b85ba5f24f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stderr] 50: 0x63b85ba5f24f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 51: 0x7987974d5aa4 - [INFO] [stderr] 52: 0x798797562a34 - 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" "b857119aa8777266ebbbc4c6cbacddc54f4b3e78ae9edf77b702447e27441e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b857119aa8777266ebbbc4c6cbacddc54f4b3e78ae9edf77b702447e27441e87", kill_on_drop: false }` [INFO] [stdout] b857119aa8777266ebbbc4c6cbacddc54f4b3e78ae9edf77b702447e27441e87