[INFO] updating cached repository https://github.com/plutolove/SimpleOS [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0832d77b08310bde10e679869dd3b5b2dad46f97 [INFO] testing plutolove/SimpleOS against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2FSimpleOS" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/SimpleOS on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/plutolove/SimpleOS [INFO] finished tweaking git repo https://github.com/plutolove/SimpleOS [INFO] tweaked toml for git repo https://github.com/plutolove/SimpleOS written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/plutolove/SimpleOS already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 412094d6a70e5087c1a62311903990fa4ee753036193be3f28aef07c488289c7 [INFO] running `"docker" "start" "-a" "412094d6a70e5087c1a62311903990fa4ee753036193be3f28aef07c488289c7"` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling llvm-tools v0.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling usize_conversions v0.2.0 [INFO] [stderr] Compiling os_bootinfo v0.2.1 [INFO] [stderr] Compiling ux v0.1.3 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling font8x8 v0.2.4 [INFO] [stderr] Compiling array-init v0.0.4 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling xmas-elf v0.6.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling bootloader v0.5.3 [INFO] [stderr] Compiling pulldown-cmark v0.0.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling skeptic v0.5.0 [INFO] [stderr] Compiling fixedvec v0.2.3 [INFO] [stderr] Compiling x86_64 v0.3.6 [INFO] [stderr] Compiling SimpleOS v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/vga/mod.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | 0x20...0x7e | b'\n' => self.write_byte(byte), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bootloader::BootInfo` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use bootloader::BootInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::fmt::Write` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use core::fmt::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `Writer` [INFO] [stderr] --> src/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use vga::{Color, Writer}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stack_frame` [INFO] [stderr] --> src/interrupt/mod.rs:32:46 [INFO] [stderr] | [INFO] [stderr] 32 | extern "x86-interrupt" fn breakpoint_handler(stack_frame: &mut InterruptStackFrame) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_frame` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `segment` is never read [INFO] [stderr] --> src/interrupt/interrupt_table.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let mut segment: u16 = 0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: crate `SimpleOS` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `simple_os` [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbootloader-44d3c743bea0b530.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-16393d47360b8108.rlib" "/opt/rustwide/target/debug/deps/libspin-78a4e0894516ec97.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e926485744da2fe8.rlib" "/opt/rustwide/target/debug/deps/libbit_field-8ac51ce003a1adbd.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b6806800b307d4b9.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e49d7651b12f7563.rlib" "/opt/rustwide/rustup-home/toolchains/28742a1146f10a4f09369baad027a464acb7a766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8266574e26adcc3.rlib" "-Wl,-Bdynamic" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/SimpleOS-592b812019d1c975.SimpleOS.9mbyvipl-cgu.15.rcgu.o: In function `_start': [INFO] [stderr] /opt/rustwide/workdir/src/main.rs:24: multiple definition of `_start' [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stderr] /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': [INFO] [stderr] (.text+0x12): undefined reference to `__libc_csu_fini' [INFO] [stderr] (.text+0x19): undefined reference to `__libc_csu_init' [INFO] [stderr] (.text+0x20): undefined reference to `main' [INFO] [stderr] (.text+0x26): undefined reference to `__libc_start_main' [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `SimpleOS`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "412094d6a70e5087c1a62311903990fa4ee753036193be3f28aef07c488289c7"` [INFO] running `"docker" "rm" "-f" "412094d6a70e5087c1a62311903990fa4ee753036193be3f28aef07c488289c7"` [INFO] [stdout] 412094d6a70e5087c1a62311903990fa4ee753036193be3f28aef07c488289c7