[INFO] fetching crate cpp-inherit 0.1.1... [INFO] checking cpp-inherit-0.1.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate cpp-inherit 0.1.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate cpp-inherit 0.1.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-15/source/Cargo.toml [INFO] crate crates.io crate cpp-inherit 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b403eb831588daeb097a8846c02c9acbe074a67ee9671b1575dfe5a57f8b854 [INFO] running `Command { std: "docker" "start" "-a" "8b403eb831588daeb097a8846c02c9acbe074a67ee9671b1575dfe5a57f8b854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b403eb831588daeb097a8846c02c9acbe074a67ee9671b1575dfe5a57f8b854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b403eb831588daeb097a8846c02c9acbe074a67ee9671b1575dfe5a57f8b854", kill_on_drop: false }` [INFO] [stdout] 8b403eb831588daeb097a8846c02c9acbe074a67ee9671b1575dfe5a57f8b854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7be22210ec32bd6aa5c5566f4df07dc1101b8c830eb346c5fc6b62356151cff [INFO] running `Command { std: "docker" "start" "-a" "e7be22210ec32bd6aa5c5566f4df07dc1101b8c830eb346c5fc6b62356151cff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking wasmparser v0.57.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking cpp-inherit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `test` [INFO] [stdout] --> examples/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[repr(C)] [INFO] [stdout] 4 | | #[derive(Debug, Copy, Clone)] [INFO] [stdout] 5 | | pub struct non_virtual { [INFO] [stdout] 6 | | pub value: ::std::os::raw::c_int, [INFO] [stdout] ... | [INFO] [stdout] 75 | | pub fn call_x_on(x: *mut base) -> ::std::os::raw::c_int; [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] error: aborting due to previous error [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` due to 2 previous errors [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 [INFO] [stdout] ... [INFO] [stdout] 27 | let test = Test::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e7be22210ec32bd6aa5c5566f4df07dc1101b8c830eb346c5fc6b62356151cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7be22210ec32bd6aa5c5566f4df07dc1101b8c830eb346c5fc6b62356151cff", kill_on_drop: false }` [INFO] [stdout] e7be22210ec32bd6aa5c5566f4df07dc1101b8c830eb346c5fc6b62356151cff