[INFO] updating cached repository https://github.com/kargenk/rcc-hello-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 97924d3052517c46c90c0679f8748c220d5c59e6 [INFO] testing kargenk/rcc-hello-rust against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkargenk%2Frcc-hello-rust" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kargenk/rcc-hello-rust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kargenk/rcc-hello-rust [INFO] finished tweaking git repo https://github.com/kargenk/rcc-hello-rust [INFO] tweaked toml for git repo https://github.com/kargenk/rcc-hello-rust written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/kargenk/rcc-hello-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] d240bc787dd2b80e9dfac51e1d7c8a70ad59677e0ce73785cdafe77c7035b751 [INFO] running `"docker" "start" "-a" "d240bc787dd2b80e9dfac51e1d7c8a70ad59677e0ce73785cdafe77c7035b751"` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: foreign function is never used: `yameru` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | fn yameru(ec: i64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/hello-342345b09626bb91.hello.9u4ffvvv-cgu.0.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/hello-342345b09626bb91" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/hello-b444a3c07b4d7fd9/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lsyscall" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-837ca740df32db0a.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-db27c965e824589f.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-68a4f8466685ed76.rlib" "-Wl,-Bdynamic" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/hello-342345b09626bb91.hello.9u4ffvvv-cgu.0.rcgu.o: In function `_start': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:7: multiple definition of `_start' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [INFO] [stderr] (.text+0x12): undefined reference to `__libc_csu_fini' [INFO] [stderr] (.text+0x19): undefined reference to `__libc_csu_init' [INFO] [stderr] (.text+0x20): undefined reference to `main' [INFO] [stderr] (.text+0x26): undefined reference to `__libc_start_main' [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `hello`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d240bc787dd2b80e9dfac51e1d7c8a70ad59677e0ce73785cdafe77c7035b751"` [INFO] running `"docker" "rm" "-f" "d240bc787dd2b80e9dfac51e1d7c8a70ad59677e0ce73785cdafe77c7035b751"` [INFO] [stdout] d240bc787dd2b80e9dfac51e1d7c8a70ad59677e0ce73785cdafe77c7035b751