[INFO] cloning repository https://github.com/Ye980226/gmtrade-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ye980226/gmtrade-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYe980226%2Fgmtrade-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYe980226%2Fgmtrade-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3bcc3139fd2e5ea6e65fffebc68399f45b4d3d6 [INFO] checking Ye980226/gmtrade-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYe980226%2Fgmtrade-rs" "/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/Ye980226/gmtrade-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ye980226/gmtrade-rs [INFO] finished tweaking git repo https://github.com/Ye980226/gmtrade-rs [INFO] tweaked toml for git repo https://github.com/Ye980226/gmtrade-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Ye980226/gmtrade-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded link-cplusplus v1.0.4 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.27 [INFO] [stderr] Downloaded cxx v1.0.27 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.27 [INFO] [stderr] Downloaded cxx-build v1.0.27 [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da70bea1309b09512221b505d8d339c3ae87cad1e168144e5f283eb484f7eaea [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" "da70bea1309b09512221b505d8d339c3ae87cad1e168144e5f283eb484f7eaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da70bea1309b09512221b505d8d339c3ae87cad1e168144e5f283eb484f7eaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da70bea1309b09512221b505d8d339c3ae87cad1e168144e5f283eb484f7eaea", kill_on_drop: false }` [INFO] [stdout] da70bea1309b09512221b505d8d339c3ae87cad1e168144e5f283eb484f7eaea [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d48194a5bfab2e7f1470a2acf1eb4174767b4d6f6baede84ea2a7780699e9ff6 [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" "d48194a5bfab2e7f1470a2acf1eb4174767b4d6f6baede84ea2a7780699e9ff6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling scratch v1.0.0 [INFO] [stderr] Compiling cxxbridge-flags v1.0.27 [INFO] [stderr] Compiling link-cplusplus v1.0.4 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling cxx v1.0.27 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cxx-build v1.0.27 [INFO] [stderr] Compiling cxxbridge-macro v1.0.27 [INFO] [stderr] Compiling gmtrade v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:2: [INFO] [stderr] warning: /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/gmtrade_csdk.h:15: warning: "NULL" redefined [INFO] [stderr] warning: 15 | #define NULL 0 [INFO] [stderr] warning: | [INFO] [stderr] warning: In file included from /usr/include/stdio.h:33, [INFO] [stderr] warning: from /usr/include/c++/9/cstdio:42, [INFO] [stderr] warning: from /usr/include/c++/9/ext/string_conversions.h:43, [INFO] [stderr] warning: from /usr/include/c++/9/bits/basic_string.h:6493, [INFO] [stderr] warning: from /usr/include/c++/9/string:55, [INFO] [stderr] warning: from /usr/include/c++/9/stdexcept:39, [INFO] [stderr] warning: from /usr/include/c++/9/array:39, [INFO] [stderr] warning: from /usr/include/c++/9/tuple:39, [INFO] [stderr] warning: from /usr/include/c++/9/bits/unique_ptr.h:37, [INFO] [stderr] warning: from /usr/include/c++/9/memory:80, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/gmtrade_def.h:1, [INFO] [stderr] warning: from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:1: [INFO] [stderr] warning: /usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h:392: note: this is the location of the previous definition [INFO] [stderr] warning: 392 | #define NULL __null [INFO] [stderr] warning: | [INFO] [stderr] warning: In file included from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:3: [INFO] [stderr] warning: /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/wrapper.h:23:6: error: declaration of 'virtual T& gmtrade::DataArray::at(int)' outside of class is not definition [-fpermissive] [INFO] [stderr] warning: 23 | T& DataArray::at(int i); [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/wrapper.h:25:7: error: declaration of 'virtual int gmtrade::DataArray::count()' outside of class is not definition [-fpermissive] [INFO] [stderr] warning: 25 | int DataArray::count(); [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `gmtrade v0.1.0 (/tmp/fixit)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/gmtrade-62c91c4971dbfb07/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:CXXBRIDGE_PREFIX=gmtrade [INFO] [stderr] cargo:CXXBRIDGE_DIR0=/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/include [INFO] [stderr] cargo:CXXBRIDGE_DIR1=/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++14" "-o" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.o" "-c" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc" [INFO] [stderr] cargo:warning=In file included from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:2: [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/gmtrade_csdk.h:15: warning: "NULL" redefined [INFO] [stderr] cargo:warning= 15 | #define NULL 0 [INFO] [stderr] cargo:warning= | [INFO] [stderr] cargo:warning=In file included from /usr/include/stdio.h:33, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/cstdio:42, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/ext/string_conversions.h:43, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/basic_string.h:6493, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/string:55, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/stdexcept:39, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/array:39, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/tuple:39, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/bits/unique_ptr.h:37, [INFO] [stderr] cargo:warning= from /usr/include/c++/9/memory:80, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/gmtrade_def.h:1, [INFO] [stderr] cargo:warning= from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:1: [INFO] [stderr] cargo:warning=/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h:392: note: this is the location of the previous definition [INFO] [stderr] cargo:warning= 392 | #define NULL __null [INFO] [stderr] cargo:warning= | [INFO] [stderr] cargo:warning=In file included from /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc:3: [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/wrapper.h:23:6: error: declaration of 'virtual T& gmtrade::DataArray::at(int)' outside of class is not definition [-fpermissive] [INFO] [stderr] cargo:warning= 23 | T& DataArray::at(int i); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate/gmtrade/include/wrapper.h:25:7: error: declaration of 'virtual int gmtrade::DataArray::count()' outside of class is not definition [-fpermissive] [INFO] [stderr] cargo:warning= 25 | int DataArray::count(); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] CXX include path: [INFO] [stderr] /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/include [INFO] [stderr] /opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/include" "-I" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++14" "-o" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.o" "-c" "/opt/rustwide/target/debug/build/gmtrade-05e4656f73d3aeef/out/cxxbridge/sources/gmtrade/src/main.rs.cc" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d48194a5bfab2e7f1470a2acf1eb4174767b4d6f6baede84ea2a7780699e9ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48194a5bfab2e7f1470a2acf1eb4174767b4d6f6baede84ea2a7780699e9ff6", kill_on_drop: false }` [INFO] [stdout] d48194a5bfab2e7f1470a2acf1eb4174767b4d6f6baede84ea2a7780699e9ff6