[INFO] updating cached repository https://github.com/asssaf/my_rust_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] edd1b5721595cb2dc22b006da05009f0e090228b [INFO] testing asssaf/my_rust_os against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasssaf%2Fmy_rust_os" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asssaf/my_rust_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-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/asssaf/my_rust_os [INFO] finished tweaking git repo https://github.com/asssaf/my_rust_os [INFO] tweaked toml for git repo https://github.com/asssaf/my_rust_os written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/asssaf/my_rust_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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2782da66f59cbe01de7f3efaaf268daf0fe3af5128a0815f9dd884e62d4f7c3d [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" "2782da66f59cbe01de7f3efaaf268daf0fe3af5128a0815f9dd884e62d4f7c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2782da66f59cbe01de7f3efaaf268daf0fe3af5128a0815f9dd884e62d4f7c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2782da66f59cbe01de7f3efaaf268daf0fe3af5128a0815f9dd884e62d4f7c3d", kill_on_drop: false }` [INFO] [stdout] 2782da66f59cbe01de7f3efaaf268daf0fe3af5128a0815f9dd884e62d4f7c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fcb8a25b445999f0b4e45c930fe2675dce7df5ae1bad8f8c54c7391137c5ff [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" "b7fcb8a25b445999f0b4e45c930fe2675dce7df5ae1bad8f8c54c7391137c5ff", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling x86_64 v0.11.1 [INFO] [stderr] Compiling bit_field v0.9.0 [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 uart_16550 v0.2.7 [INFO] [stderr] Compiling my_rust_os v0.1.0 (/opt/rustwide/workdir) [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/my_rust_os-3c7df8d4f153b641.my_rust_os.8qxkpx6b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/my_rust_os-3c7df8d4f153b641.my_rust_os.8qxkpx6b-cgu.1.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/my_rust_os-3c7df8d4f153b641" "-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/libmy_rust_os-92559f0335072f75.rlib" "/opt/rustwide/target/debug/deps/libvolatile-4d05b93ec8397c6b.rlib" "/opt/rustwide/target/debug/deps/libuart_16550-4390a63a8a26a575.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-63fcdb5dcf52087e.rlib" "/opt/rustwide/target/debug/deps/libspin-95ac90917f360d31.rlib" "/opt/rustwide/target/debug/deps/libx86_64-59c388f448c6ec68.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ae2036a04cdc1e69.rlib" "/opt/rustwide/target/debug/deps/libbit_field-2ed63a2094fb2d5d.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/my_rust_os-3c7df8d4f153b641.my_rust_os.8qxkpx6b-cgu.0.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:27: 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_rust_os`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b7fcb8a25b445999f0b4e45c930fe2675dce7df5ae1bad8f8c54c7391137c5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fcb8a25b445999f0b4e45c930fe2675dce7df5ae1bad8f8c54c7391137c5ff", kill_on_drop: false }` [INFO] [stdout] b7fcb8a25b445999f0b4e45c930fe2675dce7df5ae1bad8f8c54c7391137c5ff