[INFO] updating cached repository kargenk/rcc-hello-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kargenk/rcc-hello-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kargenk/rcc-hello-rust" "work/ex/beta-1.37-6/sources/1.36.0/gh/kargenk/rcc-hello-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/kargenk/rcc-hello-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kargenk/rcc-hello-rust" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kargenk/rcc-hello-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kargenk/rcc-hello-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 97924d3052517c46c90c0679f8748c220d5c59e6 [INFO] sha for GitHub repo kargenk/rcc-hello-rust: 97924d3052517c46c90c0679f8748c220d5c59e6 [INFO] validating manifest of kargenk/rcc-hello-rust on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kargenk/rcc-hello-rust on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kargenk/rcc-hello-rust [INFO] finished frobbing kargenk/rcc-hello-rust [INFO] frobbed toml for kargenk/rcc-hello-rust written to work/ex/beta-1.37-6/sources/1.36.0/gh/kargenk/rcc-hello-rust/Cargo.toml [INFO] started frobbing kargenk/rcc-hello-rust [INFO] finished frobbing kargenk/rcc-hello-rust [INFO] frobbed toml for kargenk/rcc-hello-rust written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kargenk/rcc-hello-rust/Cargo.toml [INFO] crate kargenk/rcc-hello-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kargenk/rcc-hello-rust against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-7/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/kargenk/rcc-hello-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] bd203ee909cea1f663d88832af133c1e6b4d7364144ddc8f610b06a490c971fb [INFO] running `"docker" "start" "-a" "bd203ee909cea1f663d88832af133c1e6b4d7364144ddc8f610b06a490c971fb"` [INFO] [stderr] Compiling hello v0.1.0 (/opt/crater/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/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/hello-fc227670cc3ada6e.hello.5q3br1jm-cgu.0.rcgu.o" "-o" "/opt/crater/target/debug/deps/hello-fc227670cc3ada6e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/hello-c2fc5110cfe2088c/out" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lsyscall" "-Wl,--no-whole-archive" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1cfd794d18771a44.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-dcf33cf10c2452ef.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c258fea34bf64bce.rlib" "-Wl,-Bdynamic" [INFO] [stderr] = note: /opt/crater/target/debug/deps/hello-fc227670cc3ada6e.hello.5q3br1jm-cgu.0.rcgu.o: In function `_start': [INFO] [stderr] /opt/crater/workdir/src/main.rs:7: multiple definition of `_start' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [INFO] [stderr] (.text+0x12): undefined reference to `__libc_csu_fini' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [INFO] [stderr] (.text+0x19): undefined reference to `__libc_csu_init' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [INFO] [stderr] (.text+0x20): undefined reference to `main' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [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" "bd203ee909cea1f663d88832af133c1e6b4d7364144ddc8f610b06a490c971fb"` [INFO] running `"docker" "rm" "-f" "bd203ee909cea1f663d88832af133c1e6b4d7364144ddc8f610b06a490c971fb"` [INFO] [stdout] bd203ee909cea1f663d88832af133c1e6b4d7364144ddc8f610b06a490c971fb