[INFO] cloning repository https://github.com/adetaylor/autocxx-subclass-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adetaylor/autocxx-subclass-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetaylor%2Fautocxx-subclass-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetaylor%2Fautocxx-subclass-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d91e0059996f9e6466e2eaadb631733a6697a9f [INFO] testing adetaylor/autocxx-subclass-demo against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetaylor%2Fautocxx-subclass-demo" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adetaylor/autocxx-subclass-demo on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adetaylor/autocxx-subclass-demo [INFO] finished tweaking git repo https://github.com/adetaylor/autocxx-subclass-demo [INFO] tweaked toml for git repo https://github.com/adetaylor/autocxx-subclass-demo written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/adetaylor/autocxx-subclass-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3580d082d7679d339f659b619a8dc9e6325efd0bba7eb1361575ce3989e176cd [INFO] running `Command { std: "docker" "start" "-a" "3580d082d7679d339f659b619a8dc9e6325efd0bba7eb1361575ce3989e176cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3580d082d7679d339f659b619a8dc9e6325efd0bba7eb1361575ce3989e176cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3580d082d7679d339f659b619a8dc9e6325efd0bba7eb1361575ce3989e176cd", kill_on_drop: false }` [INFO] [stdout] 3580d082d7679d339f659b619a8dc9e6325efd0bba7eb1361575ce3989e176cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35a9643ba2dd578ead83f25ae306b5895dcc95151368a3f0cfd90bd1555ad43c [INFO] running `Command { std: "docker" "start" "-a" "35a9643ba2dd578ead83f25ae306b5895dcc95151368a3f0cfd90bd1555ad43c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling scratch v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cxxbridge-flags v1.0.52 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling link-cplusplus v1.0.5 [INFO] [stderr] Compiling cxx v1.0.52 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cxx-build v1.0.52 [INFO] [stderr] Compiling cxxbridge-macro v1.0.52 [INFO] [stderr] Compiling autocxx-subclass-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `WebContentsObserver_supers` should have an upper camel case name [INFO] [stdout] --> src/autogenerated.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) trait WebContentsObserver_supers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WebContentsObserverSupers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `A_supers` should have an upper camel case name [INFO] [stdout] --> src/main.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | trait A_supers { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ASupers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `MyTestObserverCpp_make_unique` [INFO] [stdout] --> src/test.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn MyTestObserverCpp_make_unique( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `TriggerTestObserverA` [INFO] [stdout] --> src/test.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn TriggerTestObserverA(obs: Pin<&mut MyTestObserverCpp>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_unique` [INFO] [stdout] --> src/test.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn make_unique(peer: AutocxxSubclassHolder) -> cxx::UniquePtr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/test.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.autocxx_subclass_demo.a23ce96c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f.4laku6sj4l85g0fq.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out" "-L" "/opt/rustwide/target/debug/build/cxx-6f7171fd1f11d4be/out" "-L" "/opt/rustwide/target/debug/build/link-cplusplus-852bebbb45acc859/out" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lautocxx-subclass-demo" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/libonce_cell-393bd80b9b1a6bb7.rlib" "/opt/rustwide/target/debug/deps/libcxx-663fd292f35dff50.rlib" "/opt/rustwide/target/debug/deps/liblink_cplusplus-71455d1db188e2d0.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-d8065de375ad9cf9.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/autocxx_subclass_demo-c1042c5d5ef6869f" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/libautocxx-subclass-demo.a(test.rs.o): in function `operator new(unsigned long, void*)': [INFO] [stdout] /usr/include/c++/9/new:174: multiple definition of `RenderFrameHost_FromId(int const&)'; /opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/libautocxx-subclass-demo.a(autogenerated.rs.o):/opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/cxxbridge/crate/autocxx-subclass-demo/include/test.h:54: first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/libautocxx-subclass-demo.a(test.o): in function `std::_Head_base<1ul, std::default_delete, true>::_Head_base()': [INFO] [stdout] /usr/include/c++/9/bits/unique_ptr.h:147: multiple definition of `RenderFrameHost_FromId(int const&)'; /opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/libautocxx-subclass-demo.a(autogenerated.rs.o):/opt/rustwide/target/debug/build/autocxx-subclass-demo-38e6a17438b8c354/out/cxxbridge/crate/autocxx-subclass-demo/include/test.h:54: first defined here [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autocxx-subclass-demo` due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35a9643ba2dd578ead83f25ae306b5895dcc95151368a3f0cfd90bd1555ad43c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a9643ba2dd578ead83f25ae306b5895dcc95151368a3f0cfd90bd1555ad43c", kill_on_drop: false }` [INFO] [stdout] 35a9643ba2dd578ead83f25ae306b5895dcc95151368a3f0cfd90bd1555ad43c