[INFO] cloning repository https://github.com/mohamedTbarka/rustos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohamedTbarka/rustos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmohamedTbarka%2Frustos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmohamedTbarka%2Frustos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bed3c2a7a39ea1ad5a70beb956e3d81459653a4 [INFO] testing mohamedTbarka/rustos against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmohamedTbarka%2Frustos" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mohamedTbarka/rustos [INFO] finished tweaking git repo https://github.com/mohamedTbarka/rustos [INFO] tweaked toml for git repo https://github.com/mohamedTbarka/rustos written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mohamedTbarka/rustos 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/mohamedTbarka/rustos 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded bootloader v0.9.32 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 80f82bd97a92a0cf6b2c4124d73c1930be8f292e726019143ac660cd06068ae5 [INFO] running `Command { std: "docker" "start" "-a" "80f82bd97a92a0cf6b2c4124d73c1930be8f292e726019143ac660cd06068ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f82bd97a92a0cf6b2c4124d73c1930be8f292e726019143ac660cd06068ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f82bd97a92a0cf6b2c4124d73c1930be8f292e726019143ac660cd06068ae5", kill_on_drop: false }` [INFO] [stdout] 80f82bd97a92a0cf6b2c4124d73c1930be8f292e726019143ac660cd06068ae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a7ce9ad9e4adf1660d76452a99971f8064f3e30fd6b81709d96212ca3ada484b [INFO] running `Command { std: "docker" "start" "-a" "a7ce9ad9e4adf1660d76452a99971f8064f3e30fd6b81709d96212ca3ada484b", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bootloader v0.9.32 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling x86_64 v0.14.13 [INFO] [stderr] Compiling os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustckglR4m/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libx86_64-ed888bfdcf53152b,libvolatile-b912d1a5128efae1,libbitflags-f5cb60ed4ede321e,libbit_field-8c5ed7f77c16b5b4}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustckglR4m/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/os-ccdf480ad89f6c1c" "-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 main.rs:10 (src/main.rs:10) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/os-ccdf480ad89f6c1c.os.c5ed1c5e7e0a571f-cgu.0.rcgu.o:(.text._start+0x0) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `os` (bin "os") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a7ce9ad9e4adf1660d76452a99971f8064f3e30fd6b81709d96212ca3ada484b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ce9ad9e4adf1660d76452a99971f8064f3e30fd6b81709d96212ca3ada484b", kill_on_drop: false }` [INFO] [stdout] a7ce9ad9e4adf1660d76452a99971f8064f3e30fd6b81709d96212ca3ada484b