[INFO] cloning repository https://github.com/thiefspin/jotun-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiefspin/jotun-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84a8246d047615e093bbd229ccb0d67fc1c93320 [INFO] testing thiefspin/jotun-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%2Fthiefspin%2Fjotun-os" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/thiefspin/jotun-os [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/thiefspin/jotun-os [INFO] tweaked toml for git repo https://github.com/thiefspin/jotun-os written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thiefspin/jotun-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/thiefspin/jotun-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.4.6 [INFO] [stderr] Downloaded uart_16550 v0.2.19 [INFO] [stderr] Downloaded pc-keyboard v0.5.1 [INFO] [stderr] Downloaded bootloader v0.9.31 [INFO] [stderr] Downloaded pic8259 v0.10.4 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6d39abac9e26fef26f87a26be3e96765a24fca692e9527b018f4770b02927fb7 [INFO] running `Command { std: "docker" "start" "-a" "6d39abac9e26fef26f87a26be3e96765a24fca692e9527b018f4770b02927fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d39abac9e26fef26f87a26be3e96765a24fca692e9527b018f4770b02927fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d39abac9e26fef26f87a26be3e96765a24fca692e9527b018f4770b02927fb7", kill_on_drop: false }` [INFO] [stdout] 6d39abac9e26fef26f87a26be3e96765a24fca692e9527b018f4770b02927fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] de1adb2164698eb2f507de1fb1fbee6b7778bfc91ad6f9b2196f67b7fd31caa0 [INFO] running `Command { std: "docker" "start" "-a" "de1adb2164698eb2f507de1fb1fbee6b7778bfc91ad6f9b2196f67b7fd31caa0", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling bootloader v0.9.31 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling spin v0.9.8 [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 lazy_static v1.5.0 [INFO] [stderr] Compiling x86_64 v0.14.13 [INFO] [stderr] Compiling uart_16550 v0.2.19 [INFO] [stderr] Compiling pic8259 v0.10.4 [INFO] [stderr] Compiling jotun-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_something` is never used [INFO] [stdout] --> src/vga_buffer.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn print_something() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/memory.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn init(physical_memory_offset: VirtAddr) -> OffsetPageTable<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `active_level_4_table` is never used [INFO] [stdout] --> src/memory.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn active_level_4_table(physical_memory_offset: VirtAddr) -> &'static mut PageTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BootInfoFrameAllocator` is never constructed [INFO] [stdout] --> src/memory.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BootInfoFrameAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `usable_frames` are never used [INFO] [stdout] --> src/memory.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl BootInfoFrameAllocator { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub unsafe fn init(memory_map: &'static MemoryMap) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn usable_frames(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [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/rustcjjJnJP/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libjotun_os-f475911ebf38de34.rlib,libbootloader-3c6cf7d5848c96ef.rlib,libpc_keyboard-74b8aff7acf4bc0c.rlib,libpic8259-d1a2ff3043977d3d.rlib,libuart_16550-1d548ce2e64772f0.rlib,libx86_64-add4c05670439497.rlib,libvolatile-18bf7cd86c3a4727.rlib,libbitflags-afab00a8ef62023c.rlib,libbit_field-c1c891da71674bdb.rlib,libbitflags-32037609901091e2.rlib,libvolatile-b6c30758ecdac9c8.rlib,libspin-102341ae301bea52.rlib,liblazy_static-9a6426974f43b8f7.rlib,libspin-b0ad30bd0c243745.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcjjJnJP/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/jotun_os-6fefc1ae5cf19a82" "-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/jotun_os-6fefc1ae5cf19a82.jotun_os.836072688021155f-cgu.0.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.9.31/src/lib.rs:35: 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 `jotun-os` (bin "jotun-os") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de1adb2164698eb2f507de1fb1fbee6b7778bfc91ad6f9b2196f67b7fd31caa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1adb2164698eb2f507de1fb1fbee6b7778bfc91ad6f9b2196f67b7fd31caa0", kill_on_drop: false }` [INFO] [stdout] de1adb2164698eb2f507de1fb1fbee6b7778bfc91ad6f9b2196f67b7fd31caa0