[INFO] fetching crate ritual 0.0.0... [INFO] testing ritual-0.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ritual 0.0.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ritual 0.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ddb4a67ca03217dc2c15454003ef061eeb0f21121febdcd0f5e353d1ce46cc6 [INFO] running `Command { std: "docker" "start" "-a" "5ddb4a67ca03217dc2c15454003ef061eeb0f21121febdcd0f5e353d1ce46cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ddb4a67ca03217dc2c15454003ef061eeb0f21121febdcd0f5e353d1ce46cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ddb4a67ca03217dc2c15454003ef061eeb0f21121febdcd0f5e353d1ce46cc6", kill_on_drop: false }` [INFO] [stdout] 5ddb4a67ca03217dc2c15454003ef061eeb0f21121febdcd0f5e353d1ce46cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0838021924d7d83472045832a91fd545150a71c47edef0df48ccded090083a3f [INFO] running `Command { std: "docker" "start" "-a" "0838021924d7d83472045832a91fd545150a71c47edef0df48ccded090083a3f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling glob v0.2.11 [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 utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling clang v0.20.0 [INFO] [stderr] Compiling tempdir v0.3.7 [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 regex-automata v0.4.11 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Compiling regex v1.11.3 [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.49s [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" "0838021924d7d83472045832a91fd545150a71c47edef0df48ccded090083a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0838021924d7d83472045832a91fd545150a71c47edef0df48ccded090083a3f", kill_on_drop: false }` [INFO] [stdout] 0838021924d7d83472045832a91fd545150a71c47edef0df48ccded090083a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59e83e0a4c135e1ea44b6bb104cb9edc4f434a9307956eaf6eca7fcc097b3259 [INFO] running `Command { std: "docker" "start" "-a" "59e83e0a4c135e1ea44b6bb104cb9edc4f434a9307956eaf6eca7fcc097b3259", kill_on_drop: false }` [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.34s [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" "59e83e0a4c135e1ea44b6bb104cb9edc4f434a9307956eaf6eca7fcc097b3259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e83e0a4c135e1ea44b6bb104cb9edc4f434a9307956eaf6eca7fcc097b3259", kill_on_drop: false }` [INFO] [stdout] 59e83e0a4c135e1ea44b6bb104cb9edc4f434a9307956eaf6eca7fcc097b3259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c184970e6e6686867ba6e5aaa4757bb32478b86d8c46331d3c56173b5909c782 [INFO] running `Command { std: "docker" "start" "-a" "c184970e6e6686867ba6e5aaa4757bb32478b86d8c46331d3c56173b5909c782", 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)]` 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)]` 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)]` 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.20s [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_meaning ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal3 ... ok [INFO] [stdout] test tests::cpp_method::argument_types_equal1 ... 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_equal4 ... 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::argument_types_equal7 ... ok [INFO] [stdout] test tests::cpp_method::c_signature_constructor ... ok [INFO] [stdout] test tests::cpp_method::c_signature_empty ... ok [INFO] [stdout] test tests::cpp_method::c_signature_destructor ... 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::c_signature_method_with_this ... ok [INFO] [stdout] test tests::cpp_method::full_name_free_function_in_namespace ... 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_static_method ... ok [INFO] [stdout] test tests::cpp_method::short_text1 ... ok [INFO] [stdout] test tests::cpp_method::full_name_method ... ok [INFO] [stdout] test tests::cpp_operator::info1 ... ok [INFO] [stdout] test tests::cpp_method::full_name_nested_class_method ... ok [INFO] [stderr] [INFO] [stderr] thread 'tests::cpp_parser::advanced_class_methods' (52) 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: 0x5a7bd2e874d2 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5a7bd2e874d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5a7bd2e874d2 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5a7bd2e874d2 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5a7bd2eacbff - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5a7bd2eacbff - core::fmt::write::h21ca93b65a7c281a [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5a7bd2e75eb3 - std::io::default_write_fmt::h745a1edf2999cb3b [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5a7bd2e75eb3 - std::io::Write::write_fmt::hfc56e66d6e189682 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5a7bd2e87b22 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5a7bd2e71a9c - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5a7bd2e718dc - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5a7bd2a56e0e - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 12: 0x5a7bd2a56e0e - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5a7bd2e72743 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 14: 0x5a7bd2e72743 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5a7bd2e8792a - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x5a7bd2e87889 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5a7bd2e7239d - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5a7bd2eb4d0d - core::panicking::panic_nounwind_fmt::runtime::h13e4beb899d003a0 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5a7bd2eb4d0d - core::panicking::panic_nounwind_fmt::h8f5b2d2b4e53b323 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/intrinsics/mod.rs:2361:9 [INFO] [stderr] 20: 0x5a7bd2eb4e2b - core::panicking::panic_invalid_enum_construction::h0a8c8931ffbdeb08 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:327:5 [INFO] [stderr] 21: 0x5a7bd2cfd28b - clang::Entity::get_kind::hc76e02d70aa692ea [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: 0x5a7bd29eb1b2 - ritual::cpp_parser::run_clang::h8f6c43781af9224c [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:252:30 [INFO] [stderr] 23: 0x5a7bd29e8a54 - ritual::cpp_parser::run::h643af482b56406d9 [INFO] [stderr] at /opt/rustwide/workdir/src/cpp_parser.rs:314:5 [INFO] [stderr] 24: 0x5a7bd2902038 - core::ops::function::Fn::call::h44ed621b8972c279 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:80:5 [INFO] [stderr] 25: 0x5a7bd295fec3 - as core::ops::function::Fn>::call::hb6bb5c221427123e [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 26: 0x5a7bd298841d - ritual::processor::process::h03b415161044fd10 [INFO] [stderr] at /opt/rustwide/workdir/src/processor.rs:288:13 [INFO] [stderr] 27: 0x5a7bd291744c - ritual::tests::cpp_parser::run_parser::h92167032368b34eb [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:46:5 [INFO] [stderr] 28: 0x5a7bd291edf8 - ritual::tests::cpp_parser::advanced_class_methods::h757abe81ab497592 [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:386:16 [INFO] [stderr] 29: 0x5a7bd2917d57 - ritual::tests::cpp_parser::advanced_class_methods::{{closure}}::h52427c7c60019a4e [INFO] [stderr] at /opt/rustwide/workdir/src/tests/cpp_parser.rs:385:28 [INFO] [stderr] 30: 0x5a7bd29085a6 - core::ops::function::FnOnce::call_once::h7b897c97a19b31af [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 31: 0x5a7bd2a57e8b - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 32: 0x5a7bd2a57e8b - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stderr] 33: 0x5a7bd2a55af5 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stderr] 34: 0x5a7bd2a55af5 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 35: 0x5a7bd2a55af5 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 36: 0x5a7bd2a55af5 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 37: 0x5a7bd2a55af5 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stderr] 38: 0x5a7bd2a55af5 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stderr] 39: 0x5a7bd2a55af5 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stderr] 40: 0x5a7bd2a7ca04 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stderr] 41: 0x5a7bd2a7ca04 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 42: 0x5a7bd2a6361a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 43: 0x5a7bd2a6361a - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 44: 0x5a7bd2a6361a - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 45: 0x5a7bd2a6361a - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 46: 0x5a7bd2a6361a - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stderr] 47: 0x5a7bd2a6361a - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 48: 0x5a7bd2a6361a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 49: 0x5a7bd2e5b37f - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stderr] 50: 0x5a7bd2e5b37f - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stderr] 51: 0x7468b340baa4 - [INFO] [stderr] 52: 0x7468b3498a34 - 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" "c184970e6e6686867ba6e5aaa4757bb32478b86d8c46331d3c56173b5909c782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c184970e6e6686867ba6e5aaa4757bb32478b86d8c46331d3c56173b5909c782", kill_on_drop: false }` [INFO] [stdout] c184970e6e6686867ba6e5aaa4757bb32478b86d8c46331d3c56173b5909c782