[INFO] cloning repository https://github.com/dhairyanadapara/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/dhairyanadapara/rust-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyanadapara%2Frust-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyanadapara%2Frust-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 935b2effc0653a695b0b3d0e115741605ba8f22f [INFO] testing dhairyanadapara/rust-os against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyanadapara%2Frust-os" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dhairyanadapara/rust-os [INFO] finished tweaking git repo https://github.com/dhairyanadapara/rust-os [INFO] tweaked toml for git repo https://github.com/dhairyanadapara/rust-os written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhairyanadapara/rust-os on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhairyanadapara/rust-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] [stderr] Downloaded bootloader v0.9.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14ffce8e62fff867772ef279990a62f87f83b79651ffd04efcd4519fb32c538e [INFO] running `Command { std: "docker" "start" "-a" "14ffce8e62fff867772ef279990a62f87f83b79651ffd04efcd4519fb32c538e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14ffce8e62fff867772ef279990a62f87f83b79651ffd04efcd4519fb32c538e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ffce8e62fff867772ef279990a62f87f83b79651ffd04efcd4519fb32c538e", kill_on_drop: false }` [INFO] [stdout] 14ffce8e62fff867772ef279990a62f87f83b79651ffd04efcd4519fb32c538e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6f92d5f718ac64d4ec0474006c9940140a95750e6d5de8c3b55d6772261c66c5 [INFO] running `Command { std: "docker" "start" "-a" "6f92d5f718ac64d4ec0474006c9940140a95750e6d5de8c3b55d6772261c66c5", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling volatile v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rust-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vga_buffer.rs:137:61 [INFO] [stdout] | [INFO] [stdout] 137 | ($crate::vga_buffer::_print(format_args!($($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | println!("{}", _info); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vga_buffer.rs:137:61 [INFO] [stdout] | [INFO] [stdout] 137 | ($crate::vga_buffer::_print(format_args!($($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | println!("Hello, It's {}\n", "me"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/vga_buffer.rs:137:61 [INFO] [stdout] | [INFO] [stdout] 137 | ($crate::vga_buffer::_print(format_args!($($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Hello from the other side"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcrh6xcd/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libvolatile-b6c30758ecdac9c8.rlib,liblazy_static-6992d1285e3f89eb.rlib,libspin-102341ae301bea52.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcrh6xcd/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_os-98521cd3517f8463" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_os-98521cd3517f8463.rust_os.24e79895107f6785-cgu.0.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:23: multiple definition of `_start'; /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o:rcrt1.c:(.text+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o: in function `__dls2': [INFO] [stdout] /build/musl-cross-make/build/local/x86_64-linux-musl/obj_musl/../src_musl/crt/rcrt1.c:13:(.text.__dls2+0x1b): undefined reference to `main' [INFO] [stdout] /usr/bin/ld: /build/musl-cross-make/build/local/x86_64-linux-musl/obj_musl/../src_musl/crt/rcrt1.c:13:(.text.__dls2+0x20): undefined reference to `__libc_start_main' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-os` (bin "rust-os") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f92d5f718ac64d4ec0474006c9940140a95750e6d5de8c3b55d6772261c66c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f92d5f718ac64d4ec0474006c9940140a95750e6d5de8c3b55d6772261c66c5", kill_on_drop: false }` [INFO] [stdout] 6f92d5f718ac64d4ec0474006c9940140a95750e6d5de8c3b55d6772261c66c5