[INFO] fetching crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1... [INFO] testing tg-rcore-tutorial-games-ch6-breakout-user-0.1.0-preview.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 [INFO] finished tweaking crates.io crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 [INFO] tweaked toml for crates.io crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tg-rcore-tutorial-games-ch6-breakout-user 0.1.0-preview.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded customizable-buddy v0.0.2 [INFO] [stderr] Downloaded tg-rcore-tutorial-games-syscall v0.1.0-preview.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23b8208cb72ecce779581a2609cd02dd4af0c131b6c5b72b485be28344f4ad36 [INFO] running `Command { std: "docker" "start" "-a" "23b8208cb72ecce779581a2609cd02dd4af0c131b6c5b72b485be28344f4ad36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23b8208cb72ecce779581a2609cd02dd4af0c131b6c5b72b485be28344f4ad36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b8208cb72ecce779581a2609cd02dd4af0c131b6c5b72b485be28344f4ad36", kill_on_drop: false }` [INFO] [stdout] 23b8208cb72ecce779581a2609cd02dd4af0c131b6c5b72b485be28344f4ad36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b5398e1b9eee66b6d0b032e4ecfc08f2355dfa9df0023a53c6703e7e6b5d0d8 [INFO] running `Command { std: "docker" "start" "-a" "8b5398e1b9eee66b6d0b032e4ecfc08f2355dfa9df0023a53c6703e7e6b5d0d8", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-games-syscall v0.1.0-preview.3 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-games-ch6-breakout-user v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling customizable-buddy v0.0.2 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc4BWCGO/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc4BWCGO/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_keyshow-5faadcf6eb49f55f" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-keyshow") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcQl2gUY/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcQl2gUY/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_font-a71c65747e2e98fc" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-font") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcQBLonU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcQBLonU/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_hello-6e43199abc7113e1" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc0x7ZAA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc0x7ZAA/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_forktest-803b6906b86f78b9" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-hello") due to 1 previous error [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-forktest") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc5FUnzu/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc5FUnzu/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/user_shell-2cfa614e85ea1242" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcEjHqes/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcEjHqes/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_pingpong-6a0e102e1bd8ba2a" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "user-shell") due to 1 previous error [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-pingpong") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcCjMNBg/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcCjMNBg/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_tangram-611af31d3984a602" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-tangram") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc968OKK/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc968OKK/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_tetris-656fc0b77cc91382" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-tetris") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcfNM1ei/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcfNM1ei/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_snake-68974931c0642d06" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-snake") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc8nqVoX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgames_lib-5675f818ab9e8678,libtg_rcore_tutorial_games_syscall-517cb0dd0fb85427,libtg_rcore_tutorial_signal_defs-bf282f784fe0cfba,libnumeric_enum_macro-c9aaee5688a7adbc,libbitflags-2adfc4d1345ba0b9,libtg_rcore_tutorial_console-766cbc665fbf32e3,libspin-f3a4c05a01b1a77f,liblock_api-3fe0b79d48540412,libscopeguard-9a40176085421c5a,liblog-6f0b7ca2f57a58b6,libcustomizable_buddy-8e64319621227f23}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc8nqVoX/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch6_breakout-3f7857fb2368eca1" "-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: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:21 (src/lib.rs:21) [INFO] [stdout] >>> games_lib-5675f818ab9e8678.games_lib.c04672b215249ef3-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libgames_lib-5675f818ab9e8678.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-games-ch6-breakout-user` (bin "ch6-breakout") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8b5398e1b9eee66b6d0b032e4ecfc08f2355dfa9df0023a53c6703e7e6b5d0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5398e1b9eee66b6d0b032e4ecfc08f2355dfa9df0023a53c6703e7e6b5d0d8", kill_on_drop: false }` [INFO] [stdout] 8b5398e1b9eee66b6d0b032e4ecfc08f2355dfa9df0023a53c6703e7e6b5d0d8