[INFO] cloning repository https://github.com/oslundstrom/mini_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oslundstrom/mini_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foslundstrom%2Fmini_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foslundstrom%2Fmini_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd6813c615cf30ee9a529c6994f273769cffec05 [INFO] building oslundstrom/mini_os against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foslundstrom%2Fmini_os" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/oslundstrom/mini_os [INFO] finished tweaking git repo https://github.com/oslundstrom/mini_os [INFO] tweaked toml for git repo https://github.com/oslundstrom/mini_os written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oslundstrom/mini_os on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oslundstrom/mini_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bootloader v0.9.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa9fc16563a94635eb69a504899b9addbac7e76c9a1204bb906adbbbe4e9d96f [INFO] running `Command { std: "docker" "start" "-a" "aa9fc16563a94635eb69a504899b9addbac7e76c9a1204bb906adbbbe4e9d96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9fc16563a94635eb69a504899b9addbac7e76c9a1204bb906adbbbe4e9d96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9fc16563a94635eb69a504899b9addbac7e76c9a1204bb906adbbbe4e9d96f", kill_on_drop: false }` [INFO] [stdout] aa9fc16563a94635eb69a504899b9addbac7e76c9a1204bb906adbbbe4e9d96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff5aceffea7e5291afa45876acc7af74cfeac20c238c715348e6dd62930e7028 [INFO] running `Command { std: "docker" "start" "-a" "ff5aceffea7e5291afa45876acc7af74cfeac20c238c715348e6dd62930e7028", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.24 [INFO] [stderr] Compiling mini_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `HELLO` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static HELLO: &[u8] = b"Helloooooo World!"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcajll7A/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcajll7A/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/mini_os-1b50e8f0418ccee7" "-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:12 (src/main.rs:12) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/mini_os-1b50e8f0418ccee7.mini_os.df10e56e4d0f22cf-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 `mini_os` (bin "mini_os") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ff5aceffea7e5291afa45876acc7af74cfeac20c238c715348e6dd62930e7028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5aceffea7e5291afa45876acc7af74cfeac20c238c715348e6dd62930e7028", kill_on_drop: false }` [INFO] [stdout] ff5aceffea7e5291afa45876acc7af74cfeac20c238c715348e6dd62930e7028