[INFO] cloning repository https://github.com/tivrfoa/rust-ffi-c-singly-linked-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tivrfoa/rust-ffi-c-singly-linked-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftivrfoa%2Frust-ffi-c-singly-linked-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftivrfoa%2Frust-ffi-c-singly-linked-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 139c7c08bc3bcf7678e379a7b66699ac636ae1e0 [INFO] testing tivrfoa/rust-ffi-c-singly-linked-list against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftivrfoa%2Frust-ffi-c-singly-linked-list" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list [INFO] finished tweaking git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list [INFO] tweaked toml for git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc1bb2bddcc2ebe0e992ed28cde04b86c2c1d89880a2be99e935b3a9eade2fc1 [INFO] running `Command { std: "docker" "start" "-a" "bc1bb2bddcc2ebe0e992ed28cde04b86c2c1d89880a2be99e935b3a9eade2fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc1bb2bddcc2ebe0e992ed28cde04b86c2c1d89880a2be99e935b3a9eade2fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1bb2bddcc2ebe0e992ed28cde04b86c2c1d89880a2be99e935b3a9eade2fc1", kill_on_drop: false }` [INFO] [stdout] bc1bb2bddcc2ebe0e992ed28cde04b86c2c1d89880a2be99e935b3a9eade2fc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d2b5cff0193d02f140180c15102a6ac1fd87261438170e36cd81b8667fb5717 [INFO] running `Command { std: "docker" "start" "-a" "9d2b5cff0193d02f140180c15102a6ac1fd87261438170e36cd81b8667fb5717", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling ffi1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcNsqeTY/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lsll" "/opt/rustwide/target/debug/deps/liblibc-a1f51a53e348ca20.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcNsqeTY/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ffi1-a39b3349040ce96d/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ffi1-4df4cd7c0f3d64fe" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: duplicate symbol: main [INFO] [stdout] >>> defined at ffi1.baa4a920a75973b3-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/ffi1-4df4cd7c0f3d64fe.ffi1.baa4a920a75973b3-cgu.0.rcgu.o:(main) [INFO] [stdout] >>> defined at sll.c:103 (src/sll.c:103) [INFO] [stdout] >>> ea708c7824d36062-sll.o:(.text.main+0x0) in archive /opt/rustwide/target/debug/build/ffi1-a39b3349040ce96d/out/libsll.a [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi1` (bin "ffi1") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9d2b5cff0193d02f140180c15102a6ac1fd87261438170e36cd81b8667fb5717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d2b5cff0193d02f140180c15102a6ac1fd87261438170e36cd81b8667fb5717", kill_on_drop: false }` [INFO] [stdout] 9d2b5cff0193d02f140180c15102a6ac1fd87261438170e36cd81b8667fb5717