[INFO] fetching crate cpp-inherit 0.1.1... [INFO] testing cpp-inherit-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cpp-inherit 0.1.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cpp-inherit 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmparser v0.57.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded flate2 v1.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d83595f0d79dd6e3aa1848a0095be3ed38dbc210ba13782c49340c955f2eb5d [INFO] running `Command { std: "docker" "start" "-a" "3d83595f0d79dd6e3aa1848a0095be3ed38dbc210ba13782c49340c955f2eb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d83595f0d79dd6e3aa1848a0095be3ed38dbc210ba13782c49340c955f2eb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d83595f0d79dd6e3aa1848a0095be3ed38dbc210ba13782c49340c955f2eb5d", kill_on_drop: false }` [INFO] [stdout] 3d83595f0d79dd6e3aa1848a0095be3ed38dbc210ba13782c49340c955f2eb5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c45471b098087a6c830ea389133a3726fc1b65fcfa1d747327678fe2d9b411a5 [INFO] running `Command { std: "docker" "start" "-a" "c45471b098087a6c830ea389133a3726fc1b65fcfa1d747327678fe2d9b411a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 12.55s [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 2` [INFO] running `Command { std: "docker" "inspect" "c45471b098087a6c830ea389133a3726fc1b65fcfa1d747327678fe2d9b411a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45471b098087a6c830ea389133a3726fc1b65fcfa1d747327678fe2d9b411a5", kill_on_drop: false }` [INFO] [stdout] c45471b098087a6c830ea389133a3726fc1b65fcfa1d747327678fe2d9b411a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 87a1f17457ec14f7acea3a46b28ef0e277fbf70320784333ab628b979c09230c [INFO] running `Command { std: "docker" "start" "-a" "87a1f17457ec14f7acea3a46b28ef0e277fbf70320784333ab628b979c09230c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [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 stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cpp-inherit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz_oxide v0.4.0 [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | fn to_slice(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_string(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vtable/dwarf.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 151 | fn to_string_lossy(&self) -> gimli::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [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] 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[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 E0601`. [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 "test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cpp-inherit` (example "inherit_test") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "87a1f17457ec14f7acea3a46b28ef0e277fbf70320784333ab628b979c09230c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a1f17457ec14f7acea3a46b28ef0e277fbf70320784333ab628b979c09230c", kill_on_drop: false }` [INFO] [stdout] 87a1f17457ec14f7acea3a46b28ef0e277fbf70320784333ab628b979c09230c