[INFO] updating cached repository https://github.com/Valentine-Mario/mini_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcef6f9f78304c40a31bd2cf1fc900e9283e9ecb [INFO] testing Valentine-Mario/mini_os against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValentine-Mario%2Fmini_os" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Valentine-Mario/mini_os on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/Valentine-Mario/mini_os [INFO] finished tweaking git repo https://github.com/Valentine-Mario/mini_os [INFO] tweaked toml for git repo https://github.com/Valentine-Mario/mini_os written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Valentine-Mario/mini_os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a581f3385551315fe949aa041dd994a23560bcd90adf1dcdeaad9836d52d60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3a581f3385551315fe949aa041dd994a23560bcd90adf1dcdeaad9836d52d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a581f3385551315fe949aa041dd994a23560bcd90adf1dcdeaad9836d52d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a581f3385551315fe949aa041dd994a23560bcd90adf1dcdeaad9836d52d60", kill_on_drop: false }` [INFO] [stdout] e3a581f3385551315fe949aa041dd994a23560bcd90adf1dcdeaad9836d52d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8cc62446805fbd0754dfbf8a5e4fc4e82cfb741f4e6110ab36400a20ba639c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8cc62446805fbd0754dfbf8a5e4fc4e82cfb741f4e6110ab36400a20ba639c7", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling volatile v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mini_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> src/vga_buffer.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn print_something() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-63fcdb5dcf52087e.rlib" "/opt/rustwide/target/debug/deps/libspin-95ac90917f360d31.rlib" "/opt/rustwide/target/debug/deps/libvolatile-4d05b93ec8397c6b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/mini_os-064b6e4435c2fb90.mini_os.7oplc7az-cgu.4.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:16: multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x24): undefined reference to `main' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini_os`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a8cc62446805fbd0754dfbf8a5e4fc4e82cfb741f4e6110ab36400a20ba639c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8cc62446805fbd0754dfbf8a5e4fc4e82cfb741f4e6110ab36400a20ba639c7", kill_on_drop: false }` [INFO] [stdout] a8cc62446805fbd0754dfbf8a5e4fc4e82cfb741f4e6110ab36400a20ba639c7