[INFO] cloning repository https://github.com/jam1garner/cpp-inherit-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jam1garner/cpp-inherit-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjam1garner%2Fcpp-inherit-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjam1garner%2Fcpp-inherit-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02f69fb5911a6902e4074148b57dea1eae360b96 [INFO] checking jam1garner/cpp-inherit-test against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjam1garner%2Fcpp-inherit-test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jam1garner/cpp-inherit-test on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jam1garner/cpp-inherit-test [INFO] removed path dependency cpp-inherit from git repo https://github.com/jam1garner/cpp-inherit-test [INFO] finished tweaking git repo https://github.com/jam1garner/cpp-inherit-test [INFO] tweaked toml for git repo https://github.com/jam1garner/cpp-inherit-test written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jam1garner/cpp-inherit-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cpp-inherit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cpp-inherit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ceb81aae3de1eb9d1ecc6b7f6d0abe62c06a42e27e8b1accbebf3c679ad60fdb [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" "ceb81aae3de1eb9d1ecc6b7f6d0abe62c06a42e27e8b1accbebf3c679ad60fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceb81aae3de1eb9d1ecc6b7f6d0abe62c06a42e27e8b1accbebf3c679ad60fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb81aae3de1eb9d1ecc6b7f6d0abe62c06a42e27e8b1accbebf3c679ad60fdb", kill_on_drop: false }` [INFO] [stdout] ceb81aae3de1eb9d1ecc6b7f6d0abe62c06a42e27e8b1accbebf3c679ad60fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79d313ab118232a5ed9b58b69eae76a79f9c1ce3ed0ebc72ea21f7ced0ea8b1d [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" "79d313ab118232a5ed9b58b69eae76a79f9c1ce3ed0ebc72ea21f7ced0ea8b1d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (cpp-inherit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.41 [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] [stderr] Compiling cpp-inherit-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling cpp-inherit v0.1.1 [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[inherit_from_impl(BaseType, "test.hpp")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidInput, error: "memory map must have a non-zero length" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `RustType` in the current scope [INFO] [stdout] --> src/main.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 6 | struct RustType {} [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 22 | let mut test = RustType::new(); [INFO] [stdout] | ^^^ function or associated item not found in `RustType` [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: could not compile `cpp-inherit-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "79d313ab118232a5ed9b58b69eae76a79f9c1ce3ed0ebc72ea21f7ced0ea8b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d313ab118232a5ed9b58b69eae76a79f9c1ce3ed0ebc72ea21f7ced0ea8b1d", kill_on_drop: false }` [INFO] [stdout] 79d313ab118232a5ed9b58b69eae76a79f9c1ce3ed0ebc72ea21f7ced0ea8b1d