[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thiefspin/jotun-os on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pc-keyboard v0.5.1 [INFO] [stderr] Downloaded pic8259 v0.10.4 [INFO] [stderr] Downloaded bootloader v0.9.31 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] [stderr] Downloaded uart_16550 v0.2.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f6dfe9f7da0251471ebb84aded1ebedb2b353630a5195d98a52c4e00510c48 [INFO] running `Command { std: "docker" "start" "-a" "43f6dfe9f7da0251471ebb84aded1ebedb2b353630a5195d98a52c4e00510c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f6dfe9f7da0251471ebb84aded1ebedb2b353630a5195d98a52c4e00510c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f6dfe9f7da0251471ebb84aded1ebedb2b353630a5195d98a52c4e00510c48", kill_on_drop: false }` [INFO] [stdout] 43f6dfe9f7da0251471ebb84aded1ebedb2b353630a5195d98a52c4e00510c48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5892a1521e571a5cbd0ccc0ad7d11e99b171832db7eb5d2f8d303b44a04756db [INFO] running `Command { std: "docker" "start" "-a" "5892a1521e571a5cbd0ccc0ad7d11e99b171832db7eb5d2f8d303b44a04756db", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bit_field v0.10.2 [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 pic8259 v0.10.4 [INFO] [stderr] Compiling uart_16550 v0.2.19 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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" "/tmp/rustcBA8E8L/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libjotun_os-1b975c7810973667,libbootloader-23701257bbc0488d,libpc_keyboard-683548e1665a5c51,libpic8259-6d6de3c5187a2cfd,libuart_16550-97bc0cd776b414ff,libx86_64-497d98ae2c675e69,libvolatile-b912d1a5128efae1,libbitflags-8b93536732b4a862,libbit_field-8c5ed7f77c16b5b4,libbitflags-2adfc4d1345ba0b9,libvolatile-926b17ead2a07695,libspin-9807f654e4818911,liblazy_static-69181a648937a2a4,libspin-7ba7aebe17adef4b}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcBA8E8L/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/jotun_os-579b2aa62be9d02c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: duplicate symbol: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at lib.rs:35 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.9.31/src/lib.rs:35) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/jotun_os-579b2aa62be9d02c.jotun_os.f7d7c39ec794e1d9-cgu.0.rcgu.o:(.text._start+0x0) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [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" "5892a1521e571a5cbd0ccc0ad7d11e99b171832db7eb5d2f8d303b44a04756db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5892a1521e571a5cbd0ccc0ad7d11e99b171832db7eb5d2f8d303b44a04756db", kill_on_drop: false }` [INFO] [stdout] 5892a1521e571a5cbd0ccc0ad7d11e99b171832db7eb5d2f8d303b44a04756db