[INFO] cloning repository https://github.com/imporoutco586/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/imporoutco586/RUST-OS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimporoutco586%2FRUST-OS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimporoutco586%2FRUST-OS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5ad95a9c0e5cabc193d56d2bd811084dceae54e [INFO] testing imporoutco586/RUST-OS against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimporoutco586%2FRUST-OS" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imporoutco586/RUST-OS on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imporoutco586/RUST-OS [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/imporoutco586/RUST-OS [INFO] tweaked toml for git repo https://github.com/imporoutco586/RUST-OS written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/imporoutco586/RUST-OS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b97d98c23b5381e5857e145746ff9d0a24fbd1e871b9205f2065312999b5046a [INFO] running `Command { std: "docker" "start" "-a" "b97d98c23b5381e5857e145746ff9d0a24fbd1e871b9205f2065312999b5046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97d98c23b5381e5857e145746ff9d0a24fbd1e871b9205f2065312999b5046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97d98c23b5381e5857e145746ff9d0a24fbd1e871b9205f2065312999b5046a", kill_on_drop: false }` [INFO] [stdout] b97d98c23b5381e5857e145746ff9d0a24fbd1e871b9205f2065312999b5046a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc269a9f2589e336ec4d028422271a590e30e614008ab1b72df15e40003de21 [INFO] running `Command { std: "docker" "start" "-a" "edc269a9f2589e336ec4d028422271a590e30e614008ab1b72df15e40003de21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling x86_64 v0.14.5 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bootloader v0.9.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling volatile v0.2.7 [INFO] [stderr] Compiling pc-keyboard v0.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling uart_16550 v0.2.15 [INFO] [stderr] Compiling pic8259 v0.10.2 [INFO] [stderr] Compiling blog_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vga_buffer.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | 0x20...0x7e | b'\n' => self.write_byte(byte), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial::SERIAL1` [INFO] [stdout] --> src/vga_buffer.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use crate::serial::SERIAL1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | set_cs(GDT.1.code_selector); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | use x86_64::instructions::segmentation::set_cs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vga_buffer.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | writer.write_str("ello! "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/blog_os-6784e9ae81ec2d65.blog_os.1b54eaa8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blog_os-6784e9ae81ec2d65.blog_os.1b54eaa8-cgu.1.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libblog_os-db4977b046d9cc5c.rlib" "/opt/rustwide/target/debug/deps/libpc_keyboard-0acbbcc80d5f6630.rlib" "/opt/rustwide/target/debug/deps/libpic8259-f6d1ea55c5512e74.rlib" "/opt/rustwide/target/debug/deps/libvolatile-7b7f4cad955a0a69.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0178a18930f03273.rlib" "/opt/rustwide/target/debug/deps/libspin-4466e4556840553f.rlib" "/opt/rustwide/target/debug/deps/libspin-a825fad3a4332203.rlib" "/opt/rustwide/target/debug/deps/liblock_api-a766bdbdf3a58fa4.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-67ca832cf121b569.rlib" "/opt/rustwide/target/debug/deps/libuart_16550-15571475a416d1a0.rlib" "/opt/rustwide/target/debug/deps/libx86_64-2eaf290132612c38.rlib" "/opt/rustwide/target/debug/deps/libvolatile-2725fc1465a9ae2f.rlib" "/opt/rustwide/target/debug/deps/libbit_field-d4f2a535c5bd226b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-f9b5d3050be6bb5d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/blog_os-6784e9ae81ec2d65" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/blog_os-6784e9ae81ec2d65.blog_os.1b54eaa8-cgu.0.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:11: 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] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blog_os` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "edc269a9f2589e336ec4d028422271a590e30e614008ab1b72df15e40003de21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc269a9f2589e336ec4d028422271a590e30e614008ab1b72df15e40003de21", kill_on_drop: false }` [INFO] [stdout] edc269a9f2589e336ec4d028422271a590e30e614008ab1b72df15e40003de21