[INFO] fetching crate cpp-inherit 0.1.1... [INFO] testing cpp-inherit-0.1.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate cpp-inherit 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cpp-inherit 0.1.1 [INFO] finished tweaking crates.io crate cpp-inherit 0.1.1 [INFO] tweaked toml for crates.io crate cpp-inherit 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cpp-inherit 0.1.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cpp-inherit 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ce632e828fc033f5db3157334c336e8a0fc581c20794b2307911e2f6f65f279 [INFO] running `Command { std: "docker" "start" "-a" "5ce632e828fc033f5db3157334c336e8a0fc581c20794b2307911e2f6f65f279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce632e828fc033f5db3157334c336e8a0fc581c20794b2307911e2f6f65f279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce632e828fc033f5db3157334c336e8a0fc581c20794b2307911e2f6f65f279", kill_on_drop: false }` [INFO] [stdout] 5ce632e828fc033f5db3157334c336e8a0fc581c20794b2307911e2f6f65f279 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e37065c69ea16001ccb380c135ce594377a55ba853925495afd281b93fc1fc [INFO] running `Command { std: "docker" "start" "-a" "a6e37065c69ea16001ccb380c135ce594377a55ba853925495afd281b93fc1fc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling cpp-inherit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Reader` is never used [INFO] [stdout] --> src/vtable/dwarf.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait Reader: gimli::Reader + Send + Sync {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/vtable/dwarf.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct VTableElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 218 | pub pos: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VTableElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasmparser v0.57.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a6e37065c69ea16001ccb380c135ce594377a55ba853925495afd281b93fc1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e37065c69ea16001ccb380c135ce594377a55ba853925495afd281b93fc1fc", kill_on_drop: false }` [INFO] [stdout] a6e37065c69ea16001ccb380c135ce594377a55ba853925495afd281b93fc1fc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7894bd25f616b3e9e50d7c0dc1bf628fbda51dd566c6fcedfdfb7b3d317ef121 [INFO] running `Command { std: "docker" "start" "-a" "7894bd25f616b3e9e50d7c0dc1bf628fbda51dd566c6fcedfdfb7b3d317ef121", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling cpp-inherit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Reader` is never used [INFO] [stdout] --> src/vtable/dwarf.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait Reader: gimli::Reader + Send + Sync {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/vtable/dwarf.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct VTableElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 218 | pub pos: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VTableElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Reader` is never used [INFO] [stdout] --> src/vtable/dwarf.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait Reader: gimli::Reader + Send + Sync {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/vtable/dwarf.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct VTableElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 218 | pub pos: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VTableElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `test` [INFO] [stdout] --> examples/test.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/test.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/inherit_test.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[inherit_from_impl(base, "test.hpp")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: NotPresent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-inherit` (example "test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Test` in the current scope [INFO] [stdout] --> examples/inherit_test.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct Test {} [INFO] [stdout] | ----------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let test = Test::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Test` [INFO] [stdout] | [INFO] [stdout] note: the function `new` is implemented on `base` [INFO] [stdout] --> examples/inherit_test.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let test = Test::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-inherit` (example "inherit_test") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7894bd25f616b3e9e50d7c0dc1bf628fbda51dd566c6fcedfdfb7b3d317ef121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7894bd25f616b3e9e50d7c0dc1bf628fbda51dd566c6fcedfdfb7b3d317ef121", kill_on_drop: false }` [INFO] [stdout] 7894bd25f616b3e9e50d7c0dc1bf628fbda51dd566c6fcedfdfb7b3d317ef121