[INFO] fetching crate cpp-inherit 0.1.1... [INFO] checking cpp-inherit-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cpp-inherit 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate cpp-inherit 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0893bbfc6938f3146d698aa44c419bfee01ef107edcb7d2999fae319a91f314 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b0893bbfc6938f3146d698aa44c419bfee01ef107edcb7d2999fae319a91f314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0893bbfc6938f3146d698aa44c419bfee01ef107edcb7d2999fae319a91f314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0893bbfc6938f3146d698aa44c419bfee01ef107edcb7d2999fae319a91f314", kill_on_drop: false }` [INFO] [stdout] b0893bbfc6938f3146d698aa44c419bfee01ef107edcb7d2999fae319a91f314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5875290ab7a45e2903f562dd08245a6ddd7f2e185a54c7b652d9793015881f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0a5875290ab7a45e2903f562dd08245a6ddd7f2e185a54c7b652d9793015881f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking wasmparser v0.57.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling quote v1.0.7 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "0a5875290ab7a45e2903f562dd08245a6ddd7f2e185a54c7b652d9793015881f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5875290ab7a45e2903f562dd08245a6ddd7f2e185a54c7b652d9793015881f", kill_on_drop: false }` [INFO] [stdout] 0a5875290ab7a45e2903f562dd08245a6ddd7f2e185a54c7b652d9793015881f