[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 try#b83b707f97d809763b7861afa7638871f3339a33 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tivrfoa/rust-ffi-c-singly-linked-list on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fe4182d371d0169ff247e5f588a9238b6aaecf851a00e53f372862449ac9507 [INFO] running `Command { std: "docker" "start" "-a" "8fe4182d371d0169ff247e5f588a9238b6aaecf851a00e53f372862449ac9507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fe4182d371d0169ff247e5f588a9238b6aaecf851a00e53f372862449ac9507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe4182d371d0169ff247e5f588a9238b6aaecf851a00e53f372862449ac9507", kill_on_drop: false }` [INFO] [stdout] 8fe4182d371d0169ff247e5f588a9238b6aaecf851a00e53f372862449ac9507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b346f72ffd2ee615a8429d77ff3730311ac2346469e2de5ba3f0eef3e79baee [INFO] running `Command { std: "docker" "start" "-a" "5b346f72ffd2ee615a8429d77ff3730311ac2346469e2de5ba3f0eef3e79baee", 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/rustcxQzgmT/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/rustcxQzgmT/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.7f11ec58ece40a06-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/ffi1-4df4cd7c0f3d64fe.ffi1.7f11ec58ece40a06-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" "5b346f72ffd2ee615a8429d77ff3730311ac2346469e2de5ba3f0eef3e79baee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b346f72ffd2ee615a8429d77ff3730311ac2346469e2de5ba3f0eef3e79baee", kill_on_drop: false }` [INFO] [stdout] 5b346f72ffd2ee615a8429d77ff3730311ac2346469e2de5ba3f0eef3e79baee