[INFO] cloning repository https://github.com/davrine/rust_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davrine/rust_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavrine%2Frust_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavrine%2Frust_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a91e6873293698bca791ec00da765d4495811c7 [INFO] testing davrine/rust_os against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavrine%2Frust_os" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/davrine/rust_os [INFO] finished tweaking git repo https://github.com/davrine/rust_os [INFO] tweaked toml for git repo https://github.com/davrine/rust_os written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davrine/rust_os 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/davrine/rust_os 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] [stderr] Downloaded bootloader v0.9.23 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e63c766f402cef8d28558d49a63a6fbcf3d2aceebeea85a6c37f334ab99a68a1 [INFO] running `Command { std: "docker" "start" "-a" "e63c766f402cef8d28558d49a63a6fbcf3d2aceebeea85a6c37f334ab99a68a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e63c766f402cef8d28558d49a63a6fbcf3d2aceebeea85a6c37f334ab99a68a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63c766f402cef8d28558d49a63a6fbcf3d2aceebeea85a6c37f334ab99a68a1", kill_on_drop: false }` [INFO] [stdout] e63c766f402cef8d28558d49a63a6fbcf3d2aceebeea85a6c37f334ab99a68a1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec673aa4168f43cb736eb28b5442880eb654657c1ea11604c2cbe315208c138 [INFO] running `Command { std: "docker" "start" "-a" "2ec673aa4168f43cb736eb28b5442880eb654657c1ea11604c2cbe315208c138", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling volatile v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rust_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/rustcNJAdVK/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liblazy_static-cb4a6a5565c529b1,libvolatile-926b17ead2a07695,libspin-9807f654e4818911}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcNJAdVK/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/rust_os-443dc01b0cab63cd" "-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:24 (src/main.rs:24) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rust_os-443dc01b0cab63cd.rust_os.b2d6b7b8caeafe89-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 `rust_os` (bin "rust_os") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2ec673aa4168f43cb736eb28b5442880eb654657c1ea11604c2cbe315208c138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec673aa4168f43cb736eb28b5442880eb654657c1ea11604c2cbe315208c138", kill_on_drop: false }` [INFO] [stdout] 2ec673aa4168f43cb736eb28b5442880eb654657c1ea11604c2cbe315208c138