[INFO] updating cached repository https://github.com/armersong/nostd-sample [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 1d299098b10ec1b277cdfeb601b0c4ff86226588 [INFO] testing armersong/nostd-sample against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farmersong%2Fnostd-sample" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/armersong/nostd-sample on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/armersong/nostd-sample [INFO] finished tweaking git repo https://github.com/armersong/nostd-sample [INFO] tweaked toml for git repo https://github.com/armersong/nostd-sample written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/armersong/nostd-sample already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aa0ad4ccf4e9f7a5b49f86bc05ef3c5f2df3c44ab92a17ea632adfabcc076700 [INFO] running `"docker" "start" "-a" "aa0ad4ccf4e9f7a5b49f86bc05ef3c5f2df3c44ab92a17ea632adfabcc076700"` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling nostd v0.1.0 (/opt/rustwide/workdir) [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/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0" "/opt/rustwide/target/debug/deps/nostd-394a5369539285e0.42z61xomdtf8u46d.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-ed43fa70e50103a6.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" [INFO] [stderr] = note: /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+0x26): undefined reference to `__libc_start_main' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o: In function `::alloc': [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:37: undefined reference to `printf' [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:39: undefined reference to `malloc' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o: In function `::alloc_zeroed': [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:53: undefined reference to `printf' [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:55: undefined reference to `calloc' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o: In function `::dealloc': [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:67: undefined reference to `printf' [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:68: undefined reference to `free' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o: In function `nostd::calloc::aligned_malloc': [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:137: undefined reference to `posix_memalign' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.0.rcgu.o: In function `rust_oom': [INFO] [stderr] /opt/rustwide/workdir/src/calloc.rs:148: undefined reference to `printf' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.11.rcgu.o: In function `core::intrinsics::write_bytes': [INFO] [stderr] /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/intrinsics.rs:2148: undefined reference to `memset' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.11.rcgu.o: In function `core::intrinsics::copy_nonoverlapping': [INFO] [stderr] /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/intrinsics.rs:2001: undefined reference to `memcpy' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.11.rcgu.o: In function `core::intrinsics::copy_nonoverlapping': [INFO] [stderr] /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/intrinsics.rs:2001: undefined reference to `memcpy' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.2.rcgu.o: In function `main': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:35: undefined reference to `printf' [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:38: undefined reference to `memset' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.2.rcgu.o: In function `alloc::boxed::Box::new': [INFO] [stderr] /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:174: undefined reference to `memcpy' [INFO] [stderr] /opt/rustwide/target/debug/deps/nostd-394a5369539285e0.nostd.7r3nf80t-cgu.2.rcgu.o: In function `main': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:44: undefined reference to `printf' [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 `nostd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "aa0ad4ccf4e9f7a5b49f86bc05ef3c5f2df3c44ab92a17ea632adfabcc076700"` [INFO] running `"docker" "rm" "-f" "aa0ad4ccf4e9f7a5b49f86bc05ef3c5f2df3c44ab92a17ea632adfabcc076700"` [INFO] [stdout] aa0ad4ccf4e9f7a5b49f86bc05ef3c5f2df3c44ab92a17ea632adfabcc076700